ran npm run format

This commit is contained in:
roflmaoqwerty 2020-01-12 22:31:30 +11:00
parent b785efe490
commit c532ab06fb
8 changed files with 56 additions and 24 deletions

View file

@ -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));
},