Fixed prune by removing cache? Fixed error on ~yt by removing contracts?
This commit is contained in:
@@ -23,7 +23,13 @@ namespace NadekoBot.Modules.Administration
|
||||
{
|
||||
|
||||
}
|
||||
[LocalizedCommand, LocalizedDescription, LocalizedSummary]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
public async Task cmd(IMessage imsg, [Remainder] string arg)
|
||||
{
|
||||
var channel = imsg.Channel as ITextChannel;
|
||||
|
||||
}
|
||||
////todo owner only
|
||||
//[LocalizedCommand, LocalizedDescription, LocalizedSummary]
|
||||
//[RequireContext(ContextType.Guild)]
|
||||
@@ -445,6 +451,7 @@ namespace NadekoBot.Modules.Administration
|
||||
public async Task Prune(IMessage msg, int count)
|
||||
{
|
||||
var channel = msg.Channel as ITextChannel;
|
||||
await msg.DeleteAsync();
|
||||
while (count > 0)
|
||||
{
|
||||
int limit = (count < 100) ? count : 100;
|
||||
|
Reference in New Issue
Block a user