refactor(.github,README,gateway,plugins/fileloader,tests,types)!: make intent calculation manual

This changes the calculation of intents to be manual to the dev.
This is to improve overall consistency of our code base, also it is not a big drawback for users since intents are usually done once and then never (seldom) touched again.
This commit is contained in:
ITOH
2022-05-24 23:16:01 +02:00
parent 3a5263c4e9
commit d7883855ec
13 changed files with 35 additions and 37 deletions
+1 -3
View File
@@ -22,9 +22,7 @@ const bot = createBot({
events: {
// ADD EVENTS NEEDED TO SHOW THE BUG HERE
},
intents: [
// ADD INTENTS NEEDED HERE FOR YOUR TEST
],
intents: 0, // ADD INTENTS NEEDED HERE FOR YOUR TEST IF NECESSARY
});
await startBot(bot);