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:
parent
4ab8937198
commit
2b3c346190
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