Meridian
DIAdiscord.js - Imagine an app
•Created by Meridian on 10/11/2024 in #djs-questions
Type error with ApplicationCommandType and ContextMenuCommandType
Perfect. Again, thanks for helping out!
14 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 10/11/2024 in #djs-questions
Type error with ApplicationCommandType and ContextMenuCommandType
Alright. Thank you!
14 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 10/11/2024 in #djs-questions
Type error with ApplicationCommandType and ContextMenuCommandType
Noted. This and restarting the TypeScript service solved it. I guess I can remove the override in the next version?
14 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 10/11/2024 in #djs-questions
Type error with ApplicationCommandType and ContextMenuCommandType
Alright. But how do I override it without a seperate entry in package.json?
14 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 10/11/2024 in #djs-questions
Type error with ApplicationCommandType and ContextMenuCommandType
Oh okay, thank you. I missed that while searching.
Which version of discord-api-types is used in 14.16.3? 0.37.100?
14 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 9/21/2022 in #djs-questions
DiscordAPIError - Invalid code in request
already did, i just thought maybe someone here could help me out. this is the most active discord development help server i know of, after all
5 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 9/21/2022 in #djs-questions
DiscordAPIError - Invalid code in request
5 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 8/14/2022 in #djs-questions
voiceStateUpdate returns same channel IDs when disconnecting a user via right-click.
alright, thanks for your help! closing this since its not a d.js issue.
13 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 8/14/2022 in #djs-questions
voiceStateUpdate returns same channel IDs when disconnecting a user via right-click.
gladly. i added the code and tried connecting the bot via a command and then disconnecting it using the right-click option.
i get a packet when connecting as expected, but when disconnecting the bot the packet still has the channel id in the field
channel_id
13 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 8/14/2022 in #djs-questions
voiceStateUpdate returns same channel IDs when disconnecting a user via right-click.
yup, even logging
console.log(oldState.channelId, newState.channelId)
returns the same channel id when disconnecting the bot. which means we currently have no way of telling if a user has disconnected, right?
EDIT: seems like its only when disconnecting another user. if i'm disconnecting myself it works as intended13 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 8/14/2022 in #djs-questions
voiceStateUpdate returns same channel IDs when disconnecting a user via right-click.
sorry to kinda necro this, but it seems you're right.
i wrote a simple function that returns the difference between two objects and when i disconnect the bot manually it literally returns nothing. meaning oldState and newState are literally exactly the same.
definitely seems like an API bug. any way to work around this in the meantime? is discord even aware of this yet?
13 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 8/14/2022 in #djs-questions
voiceStateUpdate returns same channel IDs when disconnecting a user via right-click.
apparently
newState.channelId
is not null, but the old channel id even tho the bot has been disconnected. i'm currently in the process of updating everything to v13.10.2 and then to v14 to see if that fixes anything.13 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 8/14/2022 in #djs-questions
voiceStateUpdate returns same channel IDs when disconnecting a user via right-click.
nevermind, actually. i'm still on v13.8.0 where
guild.me
actually still exists13 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 8/14/2022 in #djs-questions
voiceStateUpdate returns same channel IDs when disconnecting a user via right-click.
youre right,
guild.me
doesnt exist? weird. i'm 99% sure that worked some time ago. was that a shorthand that was removed or smthn?13 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 8/14/2022 in #djs-questions
voiceStateUpdate returns same channel IDs when disconnecting a user via right-click.
oh
13 replies
DIAdiscord.js - Imagine an app
•Created by Meridian on 8/14/2022 in #djs-questions
voiceStateUpdate returns same channel IDs when disconnecting a user via right-click.
Currently trying to do this:
13 replies