feat: dem of crassy (don't mind me)

This commit is contained in:
Ske 2022-01-30 05:04:02 +01:00 committed by spiral
parent 7dd88effb3
commit ce546bd2d4
2 changed files with 4 additions and 0 deletions

View File

@ -82,6 +82,7 @@ public partial class CommandTree
if (ctx.Match("freeze")) return ctx.Execute<Fun>(null, m => m.Freeze(ctx)); if (ctx.Match("freeze")) return ctx.Execute<Fun>(null, m => m.Freeze(ctx));
if (ctx.Match("starstorm")) return ctx.Execute<Fun>(null, m => m.Starstorm(ctx)); if (ctx.Match("starstorm")) return ctx.Execute<Fun>(null, m => m.Starstorm(ctx));
if (ctx.Match("flash")) return ctx.Execute<Fun>(null, m => m.Flash(ctx)); if (ctx.Match("flash")) return ctx.Execute<Fun>(null, m => m.Flash(ctx));
if (ctx.Match("rool")) return ctx.Execute<Fun>(null, m => m.Rool(ctx));
if (ctx.Match("error")) return ctx.Execute<Fun>(null, m => m.Error(ctx)); if (ctx.Match("error")) return ctx.Execute<Fun>(null, m => m.Error(ctx));
if (ctx.Match("stats")) return ctx.Execute<Misc>(null, m => m.Stats(ctx)); if (ctx.Match("stats")) return ctx.Execute<Misc>(null, m => m.Stats(ctx));
if (ctx.Match("permcheck")) if (ctx.Match("permcheck"))

View File

@ -28,6 +28,9 @@ public class Fun
ctx.Reply( ctx.Reply(
"*A ball of green light appears above your head and flies towards your enemy, exploding on contact.*"); "*A ball of green light appears above your head and flies towards your enemy, exploding on contact.*");
public Task Rool(Context ctx) =>
ctx.Reply("*\"What the fuck is a Pokémon?\"*");
public Task Error(Context ctx) public Task Error(Context ctx)
{ {
if (ctx.Match("message")) if (ctx.Match("message"))