mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 23:55:02 +00:00
ran npm run format
This commit is contained in:
parent
954ce089ea
commit
a5fb1ee700
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