mirror of
https://github.com/FranP-code/shopping-discord-bot.git
synced 2025-10-13 00:22:44 +00:00
initial commit
This commit is contained in:
12
app.js
Normal file
12
app.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const { GatewayIntentBits } = require('discord.js');
|
||||
const Discord = require('discord.js');
|
||||
require('dotenv').config();
|
||||
|
||||
const client = new Discord.Client({ intents: [GatewayIntentBits.Guilds] });
|
||||
|
||||
client.on('ready', () => {
|
||||
console.log('working');
|
||||
console.log(client.user);
|
||||
});
|
||||
|
||||
client.login(process.env.BOT_TOKEN);
|
||||
Reference in New Issue
Block a user