troll command,commented out to prevent abuse
This commit is contained in:
parent
aff95918e2
commit
a770a771e0
@ -111,8 +111,23 @@ namespace NadekoBot.Modules
|
|||||||
} catch (Exception) { continue; }
|
} catch (Exception) { continue; }
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
/*
|
||||||
|
cgb.CreateCommand("avalanche!")
|
||||||
|
.Description("Mentions a person in every channel of the server, then deletes it")
|
||||||
|
.Parameter("name", ParameterType.Required)
|
||||||
|
.Do(e => {
|
||||||
|
var usr = e.Server.FindUsers(e.GetArg("name")).FirstOrDefault();
|
||||||
|
if (usr == null) return;
|
||||||
|
e.Server.AllChannels.ForEach(async c => {
|
||||||
|
try {
|
||||||
|
var m = await c.SendMessage(usr.Mention);
|
||||||
|
await m.Delete();
|
||||||
|
} catch (Exception ex) {
|
||||||
|
Console.WriteLine(ex);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
*/
|
||||||
CreateCommand(cgb, "do you love me")
|
CreateCommand(cgb, "do you love me")
|
||||||
.Description("Replies with positive answer only to the bot owner.")
|
.Description("Replies with positive answer only to the bot owner.")
|
||||||
.Do(async e => {
|
.Do(async e => {
|
||||||
|
Loading…
Reference in New Issue
Block a user