bernardo
bernardo
DIAdiscord.js - Imagine an app
Created by bernardo on 9/27/2023 in #djs-questions
Can't find user's voice channel!
thank you!!
10 replies
DIAdiscord.js - Imagine an app
Created by bernardo on 9/27/2023 in #djs-questions
Can't find user's voice channel!
one second let me test
10 replies
DIAdiscord.js - Imagine an app
Created by bernardo on 9/27/2023 in #djs-questions
Can't find user's voice channel!
const bot = new Client({ intents: [
GatewayIntentBits.GuildVoiceStates
]});
const bot = new Client({ intents: [
GatewayIntentBits.GuildVoiceStates
]});
asking for this?
10 replies
DIAdiscord.js - Imagine an app
Created by bernardo on 9/27/2023 in #djs-questions
Can't find user's voice channel!
Logging member.voice returns this:
VoiceState {
guild: <ref *1> Guild {
id: '[GUILD SNOWFLAKE]',
name: undefined,
icon: undefined,
features: undefined,
commands: GuildApplicationCommandManager {
permissions: [ApplicationCommandPermissionsManager],
guild: [Circular *1]
},
members: GuildMemberManager { guild: [Circular *1] },
channels: GuildChannelManager { guild: [Circular *1] },
bans: GuildBanManager { guild: [Circular *1] },
roles: RoleManager { guild: [Circular *1] },
presences: PresenceManager {},
voiceStates: VoiceStateManager { guild: [Circular *1] },
stageInstances: StageInstanceManager { guild: [Circular *1] },
invites: GuildInviteManager { guild: [Circular *1] },
scheduledEvents: GuildScheduledEventManager { guild: [Circular *1] },
autoModerationRules: AutoModerationRuleManager { guild: [Circular *1] },
available: false,
shardId: 0
},
id: '[USER SNOWFLAKE]',
serverDeaf: null,
serverMute: null,
selfDeaf: null,
selfMute: null,
selfVideo: null,
sessionId: null,
streaming: null,
channelId: null,
suppress: null,
requestToSpeakTimestamp: null
}
VoiceState {
guild: <ref *1> Guild {
id: '[GUILD SNOWFLAKE]',
name: undefined,
icon: undefined,
features: undefined,
commands: GuildApplicationCommandManager {
permissions: [ApplicationCommandPermissionsManager],
guild: [Circular *1]
},
members: GuildMemberManager { guild: [Circular *1] },
channels: GuildChannelManager { guild: [Circular *1] },
bans: GuildBanManager { guild: [Circular *1] },
roles: RoleManager { guild: [Circular *1] },
presences: PresenceManager {},
voiceStates: VoiceStateManager { guild: [Circular *1] },
stageInstances: StageInstanceManager { guild: [Circular *1] },
invites: GuildInviteManager { guild: [Circular *1] },
scheduledEvents: GuildScheduledEventManager { guild: [Circular *1] },
autoModerationRules: AutoModerationRuleManager { guild: [Circular *1] },
available: false,
shardId: 0
},
id: '[USER SNOWFLAKE]',
serverDeaf: null,
serverMute: null,
selfDeaf: null,
selfMute: null,
selfVideo: null,
sessionId: null,
streaming: null,
channelId: null,
suppress: null,
requestToSpeakTimestamp: null
}
10 replies