Blacklist a user
This commit is contained in:
parent
f646879570
commit
594c9db53a
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "rustcord"
|
||||
version = "0.5.2"
|
||||
version = "0.5.3"
|
||||
authors = [" <@protonmail.com>"]
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -95,6 +95,7 @@ command!(list_srv(_ctx, message) {
|
|||
});
|
||||
|
||||
command!(gayculator(_ctx, message, args) {
|
||||
if message.author.id != 191948420141809665 {
|
||||
let number_32: i32 = args.trim().parse()
|
||||
.expect("ERR!");
|
||||
let mut result;
|
||||
|
@ -109,6 +110,7 @@ command!(gayculator(_ctx, message, args) {
|
|||
.description(result)
|
||||
.color(0xff00f9))
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
command!(waffle(_ctx, message) {
|
||||
|
@ -169,6 +171,7 @@ let num = CACHE.read().guilds.len();
|
|||
});
|
||||
|
||||
command!(compare_bot(_ctx, message, args) {
|
||||
if message.author.id != 191948420141809665 {
|
||||
let text: String = args.trim().parse()
|
||||
.expect("ERR!");
|
||||
if text.to_lowercase().contains("nib") {
|
||||
|
@ -179,7 +182,8 @@ let text: String = args.trim().parse()
|
|||
let _ = message.channel_id.say("Metaaaa, dude");
|
||||
} else {
|
||||
let _ = message.channel_id.say(format!("Me and {} are friends!", text));
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue