jimi
DIAdiscord.js - Imagine an app
•Created by jimi on 9/9/2024 in #djs-questions
how do i send a private message via @discordjs/rest
oh nvm i got it
5 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 9/9/2024 in #djs-questions
how do i send a private message via @discordjs/rest
i want to send a direct message
5 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 9/9/2024 in #djs-questions
how do i send a private message via @discordjs/rest
so i just gotta put user's id instead of channel's?
5 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
thanks a lot
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
ohh nvm it works now
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
just updated it to 2.3.0 and it still uses bot instead of bearer
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
so i thought its gonna install @latest
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
i installed it today? i didnt add any version parameter i just ran
npm i @discordjs/rest
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
0.4.1
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
even tho i set it to bearer
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
yeah now i know what's wrong, the authorization header begins with the bot prefix instead of bearer
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
do u know what i could do to fix this
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
and it logs a valid token
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
theres no reason for it to throw 401
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
Yes
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 7/27/2024 in #djs-questions
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new?
18 replies
DIAdiscord.js - Imagine an app
•Created by jimi on 4/26/2024 in #djs-voice
Bot joins the vc but audio doesn't play
nothing changed
8 replies