From 9d5c977b485fc76f2c4b030c210bfc95219556b4 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Fri, 3 Feb 2017 09:59:18 +0100 Subject: [PATCH] .reloadimages can be ran in DM now --- src/NadekoBot/Modules/Administration/Commands/SelfCommands.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/NadekoBot/Modules/Administration/Commands/SelfCommands.cs b/src/NadekoBot/Modules/Administration/Commands/SelfCommands.cs index b2af48ab..e787b83a 100644 --- a/src/NadekoBot/Modules/Administration/Commands/SelfCommands.cs +++ b/src/NadekoBot/Modules/Administration/Commands/SelfCommands.cs @@ -170,12 +170,9 @@ namespace NadekoBot.Modules.Administration } [NadekoCommand, Usage, Description, Aliases] - [RequireContext(ContextType.Guild)] [OwnerOnly] public async Task ReloadImages() { - var channel = (ITextChannel)Context.Channel; - var msg = await Context.Channel.SendMessageAsync("Reloading Images...").ConfigureAwait(false); var sw = Stopwatch.StartNew(); await NadekoBot.Images.Reload().ConfigureAwait(false);