Browse Source

Update emoji ID

pull/33/head
Abheek Dhawan 3 years ago
parent
commit
24d5b70ed8
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 4
      commands/train.js

4
commands/train.js

@ -138,14 +138,14 @@ module.exports = {
const overrideEmbed = new MessageEmbed() const overrideEmbed = new MessageEmbed()
.setAuthor({ name: answerMsg.author.tag, iconURL: answerMsg.author.displayAvatarURL() }) .setAuthor({ name: answerMsg.author.tag, iconURL: answerMsg.author.displayAvatarURL() })
.addField('Correct answer', `\`${tossupAnswer}\``) .addField('Correct answer', `\`${tossupAnswer}\``)
.setDescription('It seems your answer was incorrect. Please react with <:override:842778128966615060> to override your answer if you think you got it right.') .setDescription('It seems your answer was incorrect. Please react with <:override:955265585086857236> to override your answer if you think you got it right.')
.setColor('#ffffff') .setColor('#ffffff')
.setTimestamp(); .setTimestamp();
answerMsg.channel.send({ answerMsg.channel.send({
embeds: [overrideEmbed], embeds: [overrideEmbed],
}) })
.then(overrideMsg => { .then(overrideMsg => {
overrideMsg.react('<:override:842778128966615060>'); overrideMsg.react('<:override:955265585086857236>');
const filter = (reaction, user) => { const filter = (reaction, user) => {
return ( return (
['override'].includes(reaction.emoji.name) && ['override'].includes(reaction.emoji.name) &&

Loading…
Cancel
Save