3
0
Fork 0
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:
roflmaoqwerty 2020-01-11 00:39:32 +11:00
parent 6a85ff6528
commit f819b17075
17 changed files with 112 additions and 120 deletions

View file

@ -69,8 +69,8 @@ export class PingableRolesPlugin extends ZeppelinPlugin<TConfigSchema> {
await this.pingableRoles.delete(args.channelId, args.role.id);
this.cache.delete(args.channelId);
msg.channel.createMessage(
successMessage(`**${args.role.name}** is no longer set as pingable in <#${args.channelId}>`),
this.sendSuccessMessage(msg.channel,
`**${args.role.name}** is no longer set as pingable in <#${args.channelId}>`,
);
}
@ -88,7 +88,7 @@ export class PingableRolesPlugin extends ZeppelinPlugin<TConfigSchema> {
await this.pingableRoles.add(args.channelId, args.role.id);
this.cache.delete(args.channelId);
msg.channel.createMessage(successMessage(`**${args.role.name}** has been set as pingable in <#${args.channelId}>`));
this.sendSuccessMessage(msg.channel, `**${args.role.name}** has been set as pingable in <#${args.channelId}>`);
}
@d.event("typingStart")