Skip to content

Commit

Permalink
refactor(commands/suggest): use vote emojis from config
Browse files Browse the repository at this point in the history
  • Loading branch information
cAttte committed Dec 17, 2020
1 parent bd8001e commit ffbbaa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/suggest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export default new Command({
suggestion.message = suggestionMessage.id
await suggestion.save()

await suggestionMessage.react("👍")
await suggestionMessage.react("👎")
await suggestionMessage.react(client.config.emojis.upvote)
await suggestionMessage.react(client.config.emojis.downvote)
if (!anon) await message.delete()
}
})

0 comments on commit ffbbaa6

Please sign in to comment.