ran npm run format
This commit is contained in:
parent
b785efe490
commit
c532ab06fb
8 changed files with 56 additions and 24 deletions
|
@ -163,7 +163,7 @@ connect().then(async conn => {
|
|||
|
||||
sendSuccessMessageFn(channel, body) {
|
||||
const guildId = channel instanceof TextChannel ? channel.guild.id : null;
|
||||
const emoji = (guildId ? bot.getGuildData(guildId).config.success_emoji : null) ?? 'default emoji here';
|
||||
const emoji = (guildId ? bot.getGuildData(guildId).config.success_emoji : null) ?? "default emoji here";
|
||||
channel.createMessage(successMessage(body, emoji));
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue