diff --git a/src/plugins/Slowmode.ts b/src/plugins/Slowmode.ts index a4bd3eda..0838c80e 100644 --- a/src/plugins/Slowmode.ts +++ b/src/plugins/Slowmode.ts @@ -240,7 +240,7 @@ export class SlowmodePlugin extends ZeppelinPlugin { const useNativeSlowmode = this.getConfigForChannel(channel).use_native_slowmode && seconds <= NATIVE_SLOWMODE_LIMIT; if (seconds === 0) { - return this.disableSlowmodeCmd(msg, { channel: args.channel }); + return this.disableSlowmodeCmd(msg, { channel }); } if (seconds > MAX_SLOWMODE) {