Skip to content

Commit

Permalink
2.4.4
Browse files Browse the repository at this point in the history
Fixed bug in //alcotest command
  • Loading branch information
AlexInCube committed Apr 22, 2024
1 parent fa29e88 commit 2c5a6a7
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": "aicbot",
"version": "2.4.3",
"version": "2.4.4",
"description": "Discord Bot for playing music",
"main": "build/main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/fun/alcotest.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ export default function(): ICommand {
}

function generateAlcoTestMessage(): string{
return `🍻 ${i18next.t("commands:alcotest_success")} ${Math.round(Math.random() * 100)}% 🍻 `
return `🍻 ${i18next.t("commands:alcotest_success")} ${Math.floor(Math.random() * 101)}% 🍻 `
}

0 comments on commit 2c5a6a7

Please sign in to comment.