Skip to content
Advertisement

Tag: discord

Discord guilds.join OAuth2 in JS

I am making a bot for Discord (node.js) and I want to have it’s oauth2 so when the user adds the bot to their server and accepts the oauth app permissions, the user is automatically joined into my bot support server. I’ve seen https://dsc.gg do this, and I want to do something similar. How would I do this in Javascript?

Discord.js error message on deleting Bot message

So basically I am lately always getting the following Error when I delete a message that my Bot sends. The message is not being used by the Bot anymore, but for some reason, it always crashes after deletion. Here is the Code for the command where it always has the problems with: As you see I never actually want to

Discord voice messaging plugin: getUserMedia() is not supported

Error: Failed to start MediaRecorder: Failed to execute ‘getUserMedia’ on “MediaDevices”: getUserMedia is not supported. Original: https://github.com/MKSx/Send-Audio-Plugin-BetterDiscord Error on line 1026. UPD: getUserMedia() disabled in discord, alternative:https://github.com/l-Nuril-l/Voice-Messages-Plugin-BetterDiscord UPD2: The alternative is dead Code with problem: Answer Intro Basically, better discord is essentially an application running in something like a chrome browser. You can validate this by hitting CTRL+SHIFT+I. The problem

How to make a bot edit its own message on Discord

My friend wrote this amazing code for me but it doesn’t seem to work. It’s meant to send a message on a command then edit the message over and over again. But when I run the code my terminal says DiscordAPIError: Cannot edit a message authored by another user method: ‘patch’, path: ‘/channels/808300406073065483/messages/811398346853318668’, code: 50005, httpStatus: 403 Is there a

Advertisement