$ JJ
$ JJ
DIAdiscord.js - Imagine an app
Created by $ JJ on 11/24/2023 in #djs-questions
How do I use the functions or find functions?
No description
8 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 11/24/2023 in #djs-questions
How do I use the functions or find functions?
@xx_lavaboy_xx123 so like this
if (command == `guildid`) {
.guildId
}
if (command == `guildid`) {
.guildId
}
8 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 11/24/2023 in #djs-questions
How do I use the functions or find functions?
im new to discord.js
8 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
I will see how it works.
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
Okay, I will just use slash.
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
But yk how circle uses prefix? I want to use prefix aswell because I'm making a bot like that.
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
Actually nevermind, I just seen a way to do it with slash.
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
my laptop cant run vsc without it crashing
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
how im suppose to test it?
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
im using daki hosting
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
const { Client, GatewayIntentBits } = require('discord.js');
const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent]
});

client.once(Events.MessageCreate, m => {
if (message.content === '!ping') {
message.channel.send('Pong.');

});

client.once(Events.ClientReady, c => {
console.log(`Ready! Logged in as ${c.user.tag}`);
});

client.login(token);
const { Client, GatewayIntentBits } = require('discord.js');
const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent]
});

client.once(Events.MessageCreate, m => {
if (message.content === '!ping') {
message.channel.send('Pong.');

});

client.once(Events.ClientReady, c => {
console.log(`Ready! Logged in as ${c.user.tag}`);
});

client.login(token);
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
fixed
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
const { Client, GatewayIntentBits } = require('discord.js');
const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent]
});

client.on('Events.MessageCreate', m => {
if (message.content === '!ping') {
message.channel.send('Pong.');

});

client.once(Events.ClientReady, c => {
console.log(`Ready! Logged in as ${c.user.tag}`);
});

client.login(token);
const { Client, GatewayIntentBits } = require('discord.js');
const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent]
});

client.on('Events.MessageCreate', m => {
if (message.content === '!ping') {
message.channel.send('Pong.');

});

client.once(Events.ClientReady, c => {
console.log(`Ready! Logged in as ${c.user.tag}`);
});

client.login(token);
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
its still gonna work tho right?
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
this correct v14 format correct?
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
const { Client, Events, GatewayIntentBits } = require('discord.js');
const config = require('./config.json');
const client = new Client({ intents: [GatewayIntentBits.Guilds] });
});

client.on('message', message => {
if (message.content === '!ping') {
message.channel.send('Pong.');
}
});

client.once(Events.ClientReady, c => {
console.log(`Ready! Logged in as ${c.user.tag}`);
});

client.login(token);
const { Client, Events, GatewayIntentBits } = require('discord.js');
const config = require('./config.json');
const client = new Client({ intents: [GatewayIntentBits.Guilds] });
});

client.on('message', message => {
if (message.content === '!ping') {
message.channel.send('Pong.');
}
});

client.once(Events.ClientReady, c => {
console.log(`Ready! Logged in as ${c.user.tag}`);
});

client.login(token);
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
i will come back if i have a mistake
60 replies
DIAdiscord.js - Imagine an app
Created by $ JJ on 7/19/2023 in #djs-questions
How can I use an prefix instead of slash?
alright
60 replies