3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

Improve !ban error messages

This commit is contained in:
Dragory 2020-12-22 22:10:41 +02:00
parent f4fc46d6eb
commit fec2b49129
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
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;
}