update some response and embed colours, update name in info
This commit is contained in:
parent
3a01820031
commit
c1d0ca6299
18
src/main.rs
18
src/main.rs
|
@ -24,7 +24,7 @@ impl EventHandler for Handler {
|
|||
);
|
||||
|
||||
use serenity::model::gateway::Activity;
|
||||
let activity = Activity::listening("dj0nt");
|
||||
let activity = Activity::listening("uwu noises");
|
||||
let status = OnlineStatus::Online;
|
||||
|
||||
ctx.set_presence(Some(activity), status);
|
||||
|
@ -54,7 +54,7 @@ fn main() {
|
|||
})
|
||||
.on_dispatch_error(|ctx, msg, error| {
|
||||
if let DispatchError::CheckFailed("Owner", Reason::Unknown) = error {
|
||||
let _ = msg.channel_id.say(&ctx.http, "no");
|
||||
let _ = msg.channel_id.say(&ctx.http, "nyo");
|
||||
} else if let DispatchError::Ratelimited(seconds) = error {
|
||||
let _ = msg
|
||||
.channel_id
|
||||
|
@ -92,12 +92,12 @@ fn init(ctx: &mut Context, message: &Message) -> CommandResult {
|
|||
0 => {
|
||||
let _ = message
|
||||
.channel_id
|
||||
.say(&ctx.http, "The Discordinator9000 is going sicko mode!");
|
||||
.say(&ctx.http, "The Discordinator9000 is gonna hug ny'all!");
|
||||
}
|
||||
1 => {
|
||||
let _ = message.channel_id.say(
|
||||
&ctx.http,
|
||||
"The Discordinator9000 is ready to take over the world!",
|
||||
"Nyaa~!",
|
||||
);
|
||||
}
|
||||
_ => {
|
||||
|
@ -182,7 +182,7 @@ fn ship(ctx: &mut Context, message: &Message, mut args: Args) -> CommandResult {
|
|||
slider.push('▬');
|
||||
num += 1;
|
||||
}
|
||||
slider.push_str(":heart:");
|
||||
slider.push_str(":purple_heart:");
|
||||
num = 0;
|
||||
while num < (10 - res / 10) {
|
||||
slider.push('▬');
|
||||
|
@ -192,7 +192,7 @@ fn ship(ctx: &mut Context, message: &Message, mut args: Args) -> CommandResult {
|
|||
m.embed(|e| {
|
||||
e.title(format!("{}%", res))
|
||||
.description(slider)
|
||||
.color(0xff00ce)
|
||||
.color(0xffd1dc)
|
||||
})
|
||||
});
|
||||
|
||||
|
@ -273,7 +273,7 @@ fn gayculator(ctx: &mut Context, message: &Message, mut args: Args) -> CommandRe
|
|||
m.embed(|e| {
|
||||
e.title("Gayness level:")
|
||||
.description(result)
|
||||
.color(0xff00f9)
|
||||
.color(0xffd1dc)
|
||||
})
|
||||
});
|
||||
}
|
||||
|
@ -349,7 +349,7 @@ fn help(ctx: &mut Context, message: &Message) -> CommandResult {
|
|||
("owo list_srv", "list my servers", false),
|
||||
("owo host", "Display host info", false),
|
||||
])
|
||||
.color(0x000000)
|
||||
.color(0xffd1dc)
|
||||
})
|
||||
});
|
||||
|
||||
|
@ -363,7 +363,7 @@ fn info(ctx: &mut Context, message: &Message) -> CommandResult {
|
|||
.embed(|e| e
|
||||
.title("Discordinator9000's info:")
|
||||
.description("h")
|
||||
.field("Author:", "EvilDeaaaadd#9000", false)
|
||||
.field("Author:", "EvilDeaaaadd#9000 (Agatha)", false)
|
||||
.field("Server count:", num , false)
|
||||
.field("Invite:", "[Invite link](https://discordapp.com/api/oauth2/authorize?client_id=470350233419907129&permissions=2048&scope=bot)", false )
|
||||
.footer(|f| f
|
||||
|
|
Loading…
Reference in New Issue