mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-11 04:45:02 +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
3e974e84b3
commit
af882627a1
17 changed files with 112 additions and 120 deletions
|
@ -93,7 +93,7 @@ export class AutoReactionsPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
}
|
||||
|
||||
await this.autoReactions.set(args.channelId, finalReactions);
|
||||
msg.channel.createMessage(successMessage(`Auto-reactions set for <#${args.channelId}>`));
|
||||
this.sendSuccessMessage(msg.channel, `Auto-reactions set for <#${args.channelId}>`);
|
||||
}
|
||||
|
||||
@d.command("auto_reactions disable", "<channelId:channelId>", {
|
||||
|
@ -112,7 +112,7 @@ export class AutoReactionsPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
}
|
||||
|
||||
await this.autoReactions.removeFromChannel(args.channelId);
|
||||
msg.channel.createMessage(successMessage(`Auto-reactions disabled in <#${args.channelId}>`));
|
||||
this.sendSuccessMessage(msg.channel, `Auto-reactions disabled in <#${args.channelId}>`);
|
||||
}
|
||||
|
||||
async onMessageCreate(msg: SavedMessage) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue