Skip to content

Commit

Permalink
[Enhancemend] Increased restRequestTimeout to prevent interactions to…
Browse files Browse the repository at this point in the history
… get canceld
  • Loading branch information
naseif committed Aug 30, 2021
1 parent 33cc673 commit f210edf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ const client = new Client({
Intents.FLAGS.GUILD_MESSAGES,
Intents.FLAGS.GUILD_VOICE_STATES,
],
restRequestTimeout: 30000,
});

client.commands = new Collection();
const { Player } = require("discord-player");
const player = new Player(client);
Expand Down

0 comments on commit f210edf

Please sign in to comment.