mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 15:45:03 +00:00
changed almost all references of utils successMessage to this.sendSuccessMessage. Waiting on knub changes to finish this
This commit is contained in:
parent
6a85ff6528
commit
f819b17075
17 changed files with 112 additions and 120 deletions
|
@ -194,13 +194,9 @@ export class SlowmodePlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
}
|
||||
|
||||
if (failedUsers.length) {
|
||||
msg.channel.createMessage(
|
||||
successMessage(
|
||||
`Slowmode disabled! Failed to clear slowmode from the following users:\n\n<@!${failedUsers.join(">\n<@!")}>`,
|
||||
),
|
||||
);
|
||||
this.sendSuccessMessage(msg.channel, `Slowmode disabled! Failed to clear slowmode from the following users:\n\n<@!${failedUsers.join(">\n<@!")}>`);
|
||||
} else {
|
||||
msg.channel.createMessage(successMessage("Slowmode disabled!"));
|
||||
this.sendSuccessMessage(msg.channel, "Slowmode disabled!");
|
||||
initMsg.delete().catch(noop);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue