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" "typescript": "^4.6.2"
}, },
"name": "awesomescibo", "name": "awesomescibo",
"version": "4.7.4", "version": "4.7.6",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx" "lint": "eslint ./src --ext .js,.jsx,.ts,.tsx"
@ -31,4 +31,4 @@
"author": "Abheek Dhawan", "author": "Abheek Dhawan",
"license": "MIT", "license": "MIT",
"description": "A simple Discord bot that automatically generates Science Bowl rounds using the ScibowlDB API!" "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') .setColor('#ffffff')
.setTimestamp(); .setTimestamp();
interaction.user.send({ embeds: [firstTimeEmbed] }) 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) { else if (obj) {
score = obj.score; score = obj.score;

Loading…
Cancel
Save