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);