Alex
Alex
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Alex on 10/9/2023 in #djs-questions
new to discord.js
i am struggeling for 2 hours
9 replies
DIAdiscord.js - Imagine an app
Created by Alex on 10/9/2023 in #djs-questions
new to discord.js
i just dont get it working
9 replies
DIAdiscord.js - Imagine an app
Created by Alex on 10/9/2023 in #djs-questions
new to discord.js
no
9 replies
DIAdiscord.js - Imagine an app
Created by Alex on 10/9/2023 in #djs-questions
new to discord.js
I also have a ping.js
9 replies
DIAdiscord.js - Imagine an app
Created by Alex on 10/9/2023 in #djs-questions
new to discord.js
This is my
index.js
index.js
,
const {SapphireClient} = require ("@sapphire/framework");
const {GatewayIntentBits} = require("discord.js");
const {token, prefix} = require('./config.json');
const client = new SapphireClient({
intents: [GatewayIntentBits.MessageContent,
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages],
loadMessageCommandListeners :true
})



client.login(token)
const {SapphireClient} = require ("@sapphire/framework");
const {GatewayIntentBits} = require("discord.js");
const {token, prefix} = require('./config.json');
const client = new SapphireClient({
intents: [GatewayIntentBits.MessageContent,
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages],
loadMessageCommandListeners :true
})



client.login(token)
9 replies