From 0e66735565049253b500fffacfe00426a84dd562 Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Sat, 30 Oct 2021 12:13:45 +0200 Subject: [PATCH] [Scripts] Added repl script --- repl.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 repl.js diff --git a/repl.js b/repl.js new file mode 100644 index 0000000..4726b16 --- /dev/null +++ b/repl.js @@ -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);