iFel1x
iFel1x
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/15/2024 in #djs-questions
discord.js Can't run on hosting
I rly have 12.22.12
8 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/15/2024 in #djs-questions
discord.js Can't run on hosting
bro, ty
8 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/15/2024 in #djs-questions
discord.js Can't run on hosting
oh
8 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/15/2024 in #djs-questions
Search for a role by ID
help pls)
const Role = Guild.roles.cache.get("1217094699664281600");
console.log(Role);
const Role = Guild.roles.cache.get("1217094699664281600");
console.log(Role);
TypeError: Cannot read properties of undefined (reading 'cache')
5 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/15/2024 in #djs-questions
How can I get the message id after channel.send?
@darp Got it, thanks!
7 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/15/2024 in #djs-questions
How can I get the message id after channel.send?
u mean like:
const mesid = channel.send(...);
const mesid = channel.send(...);
and mesid will have id?
7 replies
DIAdiscord.js - Imagine an app
Created by xjanex on 8/11/2023 in #djs-questions
why the icon icon_url not working
11 replies
DIAdiscord.js - Imagine an app
Created by xjanex on 8/11/2023 in #djs-questions
why the icon icon_url not working
oh, ty
11 replies
DIAdiscord.js - Imagine an app
Created by xjanex on 8/11/2023 in #djs-questions
why the icon icon_url not working
I just trying:
const embed = new EmbedBuilder()
.setAuthor({name: "theoldezt", icon_url: "https://i.ytimg.com/vi/U-fVs6l30hU/maxresdefault.jpg")
...
const embed = new EmbedBuilder()
.setAuthor({name: "theoldezt", icon_url: "https://i.ytimg.com/vi/U-fVs6l30hU/maxresdefault.jpg")
...
and I have embed message channel.send({embeds: [embed]}) but this message have no author icon url. sry for my english
11 replies
DIAdiscord.js - Imagine an app
Created by xjanex on 8/11/2023 in #djs-questions
why the icon icon_url not working
How did you fix this problem? I have this too
11 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/13/2024 in #djs-questions
Output a message to any channel
It really works. Thanks a lot!
23 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/13/2024 in #djs-questions
Output a message to any channel
Can you give an example of how to do this?
23 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/13/2024 in #djs-questions
Output a message to any channel
my script:
const { Client, Events, GatewayIntentBits, Message } = require('discord.js');
const token = process.env.DS_TOKEN;
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent] });
client.once(Events.ClientReady, c => {
console.log(`DiscordBOT ready! Logged in as ${c.user.tag}`);
});
client.login(process.env.DS_TOKEN);
const channel = client.channels.cache.get("1217094699664281602");
channel.send('The Bot is working!');
const { Client, Events, GatewayIntentBits, Message } = require('discord.js');
const token = process.env.DS_TOKEN;
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent] });
client.once(Events.ClientReady, c => {
console.log(`DiscordBOT ready! Logged in as ${c.user.tag}`);
});
client.login(process.env.DS_TOKEN);
const channel = client.channels.cache.get("1217094699664281602");
channel.send('The Bot is working!');
23 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/13/2024 in #djs-questions
Output a message to any channel
channel id is valid. I just change it at the 1st post
23 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/13/2024 in #djs-questions
Output a message to any channel
No description
23 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/13/2024 in #djs-questions
Output a message to any channel
1217094699664281602
23 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/13/2024 in #djs-questions
Output a message to any channel
No description
23 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/13/2024 in #djs-questions
Output a message to any channel
No description
23 replies
DIAdiscord.js - Imagine an app
Created by iFel1x on 3/13/2024 in #djs-questions
Output a message to any channel
I mean the channel that I will indicate by ID
23 replies