Alex
Alex
Explore posts from servers
SIASapphire - Imagine a framework
Created by Alex on 10/10/2023 in #sapphire-support
Whats the command to send messages about the user info
if i want to send the username of the user how do i do that in a command?
8 replies
SIASapphire - Imagine a framework
Created by Alex on 10/10/2023 in #sapphire-support
Whats the command to send messages about the user info
That's way different than discord.js
8 replies
SIASapphire - Imagine a framework
Created by Alex on 10/10/2023 in #sapphire-support
Whats the command to send messages about the user info
I worked with discord.py
8 replies
SIASapphire - Imagine a framework
Created by Alex on 10/9/2023 in #discordjs-support
i dont get my code working
Hoelang zit je al in de ICT?
11 replies
SIASapphire - Imagine a framework
Created by Alex on 10/9/2023 in #discordjs-support
i dont get my code working
Thanks
11 replies
SIASapphire - Imagine a framework
Created by Alex on 10/9/2023 in #discordjs-support
i dont get my code working
@Favna how to add a prefix?
11 replies
SIASapphire - Imagine a framework
Created by Alex on 10/9/2023 in #discordjs-support
i dont get my code working
Okay thanks, i will check it out
11 replies
SIASapphire - Imagine a framework
Created by Alex on 10/9/2023 in #discordjs-support
i dont get my code working
That's the error
11 replies
SIASapphire - Imagine a framework
Created by Alex on 10/9/2023 in #discordjs-support
i dont get my code working
Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'commands')1
Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'commands')1
11 replies
SIASapphire - Imagine a framework
Created by Alex on 10/9/2023 in #discordjs-support
i dont get my code working
index.js
const { SapphireClient } = require('@sapphire/framework');
const { GatewayIntentBits } = require('discord.js'); // Fix typo in intent import
const { token, prefix } = require('./config.json');
const { join } = require('path');

const client = new SapphireClient({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages], // Correct intent format
defaultPrefix: prefix,
});

client.once('ready', () => {
console.log(`Logged in as ${client.user.tag}`);
});

client.sapphire.commands.addPath(join(__dirname, 'commands'));

client.login(token);
const { SapphireClient } = require('@sapphire/framework');
const { GatewayIntentBits } = require('discord.js'); // Fix typo in intent import
const { token, prefix } = require('./config.json');
const { join } = require('path');

const client = new SapphireClient({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages], // Correct intent format
defaultPrefix: prefix,
});

client.once('ready', () => {
console.log(`Logged in as ${client.user.tag}`);
});

client.sapphire.commands.addPath(join(__dirname, 'commands'));

client.login(token);
11 replies