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:
parent
f4fc46d6eb
commit
fec2b49129
2 changed files with 12 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue