Fix ping sanitization, change init message

This commit is contained in:
EvilDeaaaadd 2020-02-29 13:51:42 +02:00
parent 4cd7ee7e4f
commit b4b309c581
5 changed files with 2 additions and 2 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
Cargo.lock generated Normal file → Executable file
View File

0
Cargo.toml Normal file → Executable file
View File

0
Procfile Normal file → Executable file
View File

4
src/main.rs Normal file → Executable file
View File

@ -19,7 +19,7 @@ impl EventHandler for Handler {
fn ready(&self, ctx: Context, ready: Ready) {
if let Some(shard) = ready.shard {
println!(
"INFO: {} is connected on shard {}/{}!\n>>",
"INFO: {} is connected on shard {}/{}!\nuwu",
ready.user.name, shard[0], shard[1]
);
@ -135,7 +135,7 @@ fn list_srv(ctx: &mut Context, message: &Message) -> CommandResult {
}
let _ = message.channel_id.say(
&ctx.http,
list.replace("@everyone", "@\u{200B}everyone"),
list.replace("@", "@\u{200B}"),
);
Ok(())