From 8059f033049692a3d45c38f5148ede87dbfa8cdb Mon Sep 17 00:00:00 2001 From: Runebaas Date: Sun, 27 Jan 2019 22:32:13 +0100 Subject: [PATCH] Remove !say completly --- Geekbot.net/Commands/Admin/Say.cs | 33 ------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 Geekbot.net/Commands/Admin/Say.cs diff --git a/Geekbot.net/Commands/Admin/Say.cs b/Geekbot.net/Commands/Admin/Say.cs deleted file mode 100644 index 2a6f80e..0000000 --- a/Geekbot.net/Commands/Admin/Say.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Threading.Tasks; -using Discord; -using Discord.Commands; -using Geekbot.net.Lib.ErrorHandling; - -namespace Geekbot.net.Commands.Admin -{ - public class Say : ModuleBase - { - private readonly IErrorHandler _errorHandler; - - public Say(IErrorHandler errorHandler) - { - _errorHandler = errorHandler; - } - - [RequireUserPermission(GuildPermission.Administrator)] - [Command("say", RunMode = RunMode.Async)] - [Summary("Say Something.")] - public async Task Echo([Remainder] [Summary("What?")] string echo) - { - try - { - await Context.User.SendMessageAsync("the `!say` command has been disabled since 2018/10/30"); - } - catch (Exception e) - { - await _errorHandler.HandleCommandException(e, Context); - } - } - } -} \ No newline at end of file