Merge branch 'knub30' of git://github.com/almeidx/ZeppelinBot into almeidx-knub30

This commit is contained in:
Dragory 2020-08-05 02:45:54 +03:00
commit 2077022299
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
5 changed files with 6 additions and 7 deletions

View file

@ -64,7 +64,7 @@ export const ForcebanCmd = modActionsCommand({
pluginData.state.serverLogs.ignoreLog(LogType.MEMBER_BAN, user.id);
try {
await pluginData.guild.banMember(user.id, 1);
await pluginData.guild.banMember(user.id, 1, encodeURIComponent(reason));
} catch (e) {
sendErrorMessage(pluginData, msg.channel, "Failed to forceban member");
return;