Category "discord"

receive discord messages in pure, browser-based javascript?

(NOTE: this first section kinda just gives context, not too relevant to the message-receive thing, but again, it sets up some context that might help) So, I kno

trying to give role for voter top.gg

i'm trying to give top.gg voters role in my server but there's so many thing happened got me confused and i can't find any solution for it. full source code : h

Discord.net Send A Slash Command With Bot

I'm trying to have my bot simply send a slash command to a specific discord channel. The command would be read by another bot and executed as needed. Is this po

Discord bot won't go online

I've just started learn python and my discord bot won't go online. it just said " Process exit with exit code 0". And there's no error with the code. here's my

client.user.setActivity found as null? (Node.js)

I am trying to set the activity of my Discord bot as a "game" however the examples I've found online haven't helped at all. client.user.setActivity("what the bo

How to check if a message author has a role?

I am trying to code a bot for a game idea my friends and I have. The command I'm working on is the score adjuster. Obviously though, I only want moderators to h

how to delete a single specific value within a repl database?

Im making a discord python bot using repl's database function and i cant figure out how to delete only one value from the database. @client.command() async def

discord.js disable “interaction failed”

If an interaction (for example button click) is not replied, discord will display “interaction failed” in the client What they expect you to do: int

Grabbing a message mention taking longer than expected (DJS V13)

I'm using message.mentions.members.first() but the problem is that when I ping a user, the bot replies after a long delay. Video: https://gyazo.com/a8739e60bb86

nextcord slash command does not register

When moving to nextcord from discord.py the slash command is not registered. I have enabled the applications.command on oauth2 URI. from nextcord import Intents

How can i disconnect a user from my voice channel using menu discordjs

So I'm trying to disconnect a specified user that is on my voiceChannel clicking on his username, this is my code: options = []; let perms = channel.members

How to join guilds automatically with discord.py?

I've been working on a selfbot with discord.py for a while. I know it's against the ToS and everything. I've come across an issue of getting whoever runs the se

Discord Music Bot not queueing songs (nextcord)

My bots doesn't queue the songs when i use the play command, it just plays them. Im trying to get all my commands to work before using spotify & soundcloud

Discord: 403 Forbidden (error code: 50001)

I tried to get a list of users through the API, but in response I got: Missing Access 403 Forbidden (error code: 50001) Request: https://discord.com/api/v9/guil

Discord.js V13: How do I get/ find a category?

I want to find a category just like how you find a channel. let channel = message.guild.channels.cache.get(<id>); Is there a way to find a category like

Why is Guild.get_channel returning a none object sometimes in discord.py

So i got this code, but the get_channel often returns a none object but sometime it replies the discord channel object. Why is this like that? Is there a better

How does this video file crash discord?

https://cdn.discordapp.com/attachments/882079986599751680/954144030449631332/UOOOOPA.webm this video will crash your discord if you open it in discord (do it a

Making a discord bot able to handle several inputs at once

This is a pretty basic question but here is the issue. I am trying to make a discord bot that takes a message and delays it by a set amount of time. However, it

pycord RuntimeError while trying to start ipc Discord Bot

I'm following this tutorial to create a discord bot with a dashboard but when I run my bot.py file I'm getting an error. What am I doing wrong? bot.py: import d

Discord bot: The base SlashCommand cannot be instantiated

On my computer it works fine, but when I try to host it on Heroku it gives this error /app/node_modules/slash-create/lib/command.js:21 throw new Error('The base