mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 18:28:27 -04:00
Replaced access to .Context with .ctx
This commit is contained in:
@@ -32,12 +32,12 @@ namespace NadekoBot.Modules.Administration
|
||||
return;
|
||||
|
||||
|
||||
await ((ITextChannel) Context.Channel).ModifyAsync(tcp =>
|
||||
await ((ITextChannel) ctx.Channel).ModifyAsync(tcp =>
|
||||
{
|
||||
tcp.SlowModeInterval = seconds;
|
||||
});
|
||||
|
||||
await Context.OkAsync();
|
||||
await ctx.OkAsync();
|
||||
}
|
||||
|
||||
[NadekoCommand, Aliases]
|
||||
|
Reference in New Issue
Block a user