Turboman3000
Turboman3000
DIAdiscord.js - Imagine an app
Created by Turboman3000 on 6/22/2023 in #djs-questions
Dynamic Command Arg.
Hi, can i do dynamic command arguments with completion? For Example /trade offer <user> <item> <item> Should have Auto Completion with an Item List from the Current Inventory of the User
5 replies
DIAdiscord.js - Imagine an app
Created by Turboman3000 on 5/16/2023 in #djs-questions
Modal Components Maxmimum
15 replies
DIAdiscord.js - Imagine an app
Created by Turboman3000 on 5/12/2023 in #djs-questions
DM Slash Commands
Can i hide commands in the Server Command Selector and just show them in DM Channels?
5 replies
DIAdiscord.js - Imagine an app
Created by Turboman3000 on 5/12/2023 in #djs-questions
Quote Color
Hi, can i change the color of Quotes (> Message)?
3 replies
DIAdiscord.js - Imagine an app
Created by Turboman3000 on 5/11/2023 in #djs-questions
Modal-Layout
-- TITLE ---------------------- -- TEXT [BUTTON] ------------ -- TEXT [BUTTON] ------------ -- TEXT [BUTTON] ------------ ----------------- [CONFIRM] -- Can i do an layout like this with Modals? Or is this not possible?
6 replies
DIAdiscord.js - Imagine an app
Created by Turboman3000 on 5/10/2023 in #djs-questions
Realtime Member Count of Every Voice Channel
Hi, how can i get the Member Count of every Voice Channel on my Server? I'm currently using:
const voiceChannels = await guild.channels.fetch(undefined, {
cache: false,
});
const voiceChannels = await guild.channels.fetch(undefined, {
cache: false,
});
to get every Member of every Voice Channel but i'm getting not the member count in RealTime more like that the API just updates it's data every 10 - 15 Minute. How can i fix this?
14 replies
DIAdiscord.js - Imagine an app
Created by Turboman3000 on 5/4/2023 in #djs-questions
'client.user' is possible null
The error that VS Code gives me is in the title.
const client: Client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.DirectMessages,
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildPresences,
],
});

function setActivity() {
client.user.setPresence({
activities: [
{
name: "SOME TEXT",
type: ActivityType.Playing,
},
],
status: "online",
});
}
const client: Client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.DirectMessages,
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildPresences,
],
});

function setActivity() {
client.user.setPresence({
activities: [
{
name: "SOME TEXT",
type: ActivityType.Playing,
},
],
status: "online",
});
}
Can someone help me? I'm a newbie in TypeScript btw. discord.js@14.8.0 nodejs v18.15.0
35 replies