Skip to content

Commit

Permalink
Bug Fix on Production (again) / getquote
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Apr 22, 2022
1 parent 44f752a commit 33ba06e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "salim-bot",
"version": "4.0.1150-rev.100",
"version": "4.0.1150-rev.200",
"description": "This bot is Salim. Whenever you trigger it, It become mad.",
"type": "module",
"main": "dist/bot.js",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/salim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default class Salim extends CogSlashClass {
}

sclient.corgiSwiftJutsu(ctx, quote);
await ctx.reply(`${quote} [${combinedQuotes.getRefIndex(index)}]`);
await ctx.reply(`${quote} [${combinedQuotes.getRefIndex(index - 1)}]`);
}

@SlashCommand(
Expand Down

0 comments on commit 33ba06e

Please sign in to comment.