Browse Source

v4.7.6

dependabot/npm_and_yarn/semver-5.7.2
Abheek Dhawan 2 years ago
parent
commit
ccea44a79b
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 4
      package.json
  2. 2
      src/commands/train.ts

4
package.json

@ -17,7 +17,7 @@
"typescript": "^4.6.2"
},
"name": "awesomescibo",
"version": "4.7.4",
"version": "4.7.6",
"scripts": {
"build": "tsc",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx"
@ -31,4 +31,4 @@
"author": "Abheek Dhawan",
"license": "MIT",
"description": "A simple Discord bot that automatically generates Science Bowl rounds using the ScibowlDB API!"
}
}

2
src/commands/train.ts

@ -54,7 +54,7 @@ export async function execute(interaction: CommandInteraction) {
.setColor('#ffffff')
.setTimestamp();
interaction.user.send({ embeds: [firstTimeEmbed] })
.catch(err => log({ logger: 'train', content: `${err}`, level: 'error' }));
.catch(err => log({ logger: 'train', content: `${err}`, level: 'error' }));
}
else if (obj) {
score = obj.score;

Loading…
Cancel
Save