3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 16:55:03 +00:00

Improve !ban error messages

This commit is contained in:
Dragory 2020-12-22 22:10:41 +02:00
parent 4ab8937198
commit 2b3c346190
2 changed files with 12 additions and 3 deletions

View file

@ -98,7 +98,7 @@ export const BanCmd = modActionsCmd({
});
if (banResult.status === "failed") {
sendErrorMessage(pluginData, msg.channel, `Failed to ban member`);
sendErrorMessage(pluginData, msg.channel, `Failed to ban member: ${banResult.error}`);
return;
}