Clean up cursed code

This commit is contained in:
Agatha Rose 2020-04-26 17:05:02 +03:00
parent d4a833edcc
commit 42f340743b
1 changed files with 0 additions and 50 deletions

View File

@ -435,15 +435,6 @@ fn gayculator(ctx: &mut Context, message: &Message, mut args: Args) -> CommandRe
Ok(())
}
/*
#[command]
fn waffle(ctx: &mut Context, message: &Message) -> CommandResult {
let _ = message.channel_id.say(&ctx.http, "h");
Ok(())
}
*/
#[command]
fn sausage(ctx: &mut Context, message: &Message) -> CommandResult {
let _ = message.channel_id.send_message(&ctx.http, |m| {
@ -456,22 +447,6 @@ fn sausage(ctx: &mut Context, message: &Message) -> CommandResult {
Ok(())
}
/*
#[command]
#[checks(Server)]
fn ad(ctx: &mut Context, message: &Message) -> CommandResult {
let _ = message.channel_id.send_message(&ctx.http, |m| m
.embed(|e| e
.title(":b:ottom text")
***REMOVED***
.thumbnail("https://i.imgur.com/8MU0gqD.png")
.color(0x00f3ff))
);
Ok(())
}
*/
#[command]
fn help(ctx: &mut Context, message: &Message) -> CommandResult {
let _ = message.channel_id.send_message(&ctx.http, |m| {
@ -535,31 +510,6 @@ fn info(ctx: &mut Context, message: &Message, args: Args) -> CommandResult {
Ok(())
}
/*
#[command]
#[aliases("compare")]
fn compare_bot(ctx: &mut Context, message: &Message, mut args: Args) -> CommandResult {
//the amiter check
if message.author.id != 191948420141809665 {
let text: String = args
.single::<String>()
.unwrap_or_else(|_| "Null".to_string());
if text.to_lowercase().contains("nib") {
let _ = message.channel_id.say(&ctx.http, "I am superior to NibBot");
} else if text.to_lowercase().contains("amit") {
let _ = message.channel_id.say(&ctx.http, "Amiter is big dumb");
} else if text.to_lowercase().contains("discordinator") {
let _ = message.channel_id.say(&ctx.http, "Option<(!, ())>");
} else {
let _ = message
.channel_id
.say(&ctx.http, format!("Me and {} are friends!", text));
}
}
Ok(())
}
*/
#[command]
#[aliases("what's this")]
fn define(ctx: &mut Context, message: &Message, args: Args) -> CommandResult {