[Scripts] Added repl script

This commit is contained in:
Alyxia Sother 2021-10-30 12:13:45 +02:00
parent 80deec025d
commit 0e66735565
No known key found for this signature in database
GPG Key ID: 355968D14144B739
1 changed files with 14 additions and 0 deletions

14
repl.js Normal file
View File

@ -0,0 +1,14 @@
const discord = require("discord.js");
let bot = new discord.Client({
intents: [
discord.Intents.FLAGS.GUILDS,
discord.Intents.FLAGS.GUILD_MEMBERS,
discord.Intents.FLAGS.GUILD_EMOJIS_AND_STICKERS,
discord.Intents.FLAGS.GUILD_VOICE_STATES,
discord.Intents.FLAGS.GUILD_PRESENCES,
discord.Intents.FLAGS.GUILD_MESSAGES,
discord.Intents.FLAGS.GUILD_MESSAGE_REACTIONS,
discord.Intents.FLAGS.DIRECT_MESSAGES
]
});
bot.login(require("./data/config.json").token);