Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Sep 18, 2022
1 parent f0d26df commit 2af3561
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ In case you want to (not recommended)

- Add required .env parameters

- For the first time, do `npm install` or `yarn install` to install dependencies
and `npm run build` or `yarn build` to build the bot.
- For the first time, do `pnpm install` to install dependencies
and `pnpm build` to build the bot.

- To start bot, do `npm start` or `yarn start`
- To start bot, do `pnpm start`

- To Stop Bot and Logout _properly_, Type `logout` in the Bot Console

Expand Down
2 changes: 1 addition & 1 deletion src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ salimCenter.on("interaction", (name, ctx) => {

sclient.client.on("ready", async () => {
await salimCenter.validateCommands();
await salimCenter.syncCommands();
await salimCenter.syncCommands(true);
});

// * Done! That's it required for this bot!
Expand Down

0 comments on commit 2af3561

Please sign in to comment.