Category "discord"

Add role to user from DMs?

So I'm making a verification bot for one of my Discord Servers, and I've come across a problem. Purpose: When the user first joins, they will be only allowed t

"on_raw_reaction_add" working but "on_raw_reaction_remove" not returning guild?

I coded on_eaw_reaction_add and it works just fine @commands.Cog.listener() async def on_raw_reaction_add(self, payload): msgID = 754487460142

Discord oauth2 /users/@me/guilds error 401

It is supposed to get all the guilds a user is joined in. It gets the bearer auth right, but it always errors with code 401. When using a external API (https://

Discord Bot can only see itself and no other users in guild

I have recently been following this tutorial to get myself started with Discord's API. Unfortunately, when I got the part about printing all the users in the gu

Puppeteer - Opening Discord Profile Popup

I am building a web application for a project and I would like to send a message in a discord server via Puppeteer without using the Discord.js library. I have

Python discord bot - coroutine was never awaited

I'm working on a Discord bot and it works to some degree but it keeps crashing every couple minutes. It gives me an error like Task was detroyed but it's pendi

Commands don't run in discord.py 2.0 - no errors, but run in discord.py 1.7.3

I'm trying to understand how migrating from Discord.py version 1.7.3 to 2.0 works. In particular, this is test code I'm using: from discord.ext import commands

Java Discord Bot

I am currently creating a bot for Discord. So far, I have got the bot up, and have it "Online" in my server. I created a custom command named !yata that display

Making a Discord bot assign a role after a certain time from the member join date?

I have no idea how to make my discord bot able to assign a role after a certain time from the join date. Someone suggested me to use node-cron, but i have no id

Making a Discord bot assign a role after a certain time from the member join date?

I have no idea how to make my discord bot able to assign a role after a certain time from the join date. Someone suggested me to use node-cron, but i have no id

Editing a message that has already been edited in Discord.py

I have a Discord bot coded in Python, and I have a setup command for it where it creates different colour roles in the server. Instead of it sending a message e

Discord.js bot not logging in

I made a discord bot and i have no idea what's wrong with my code i mean look: const Discord = require("discord.js"); const client = new Discord.Client({ i

PHP Discord OAUTH2 code sample not working

So this code I found below doesn't work I get to the authenticate screen then when t redirects me it just says Not logged in, Login in again. Does anyone know w

Is it possible to link the Discord server's name with its invite?

I have a list that stores dictionaries of the names of the servers my bot is in. The following is within a for loop, so server_name is different for each server

C# Discord Embed Emoji Scraping

So I have set up a program that the goal of which is to run through every possible ID and test that ID to see if there is a discord emoji URL associated with it

Discord bot going offline after a loop

I wanted to give my bot a presence that changes after a certain amount of time. (In this case 5 minutes) @client.event async def on_ready(): while True:

how to make discord bot to get user eth address and store them in database?

i need to make a very simple discord bot to verify and show eth address and show which user it belongs too. Need to associate a verified eth address for each m

How can i find all channel ids?

def SpamRequest(): channel_id = random.choice(channel_ids) r = requests.post(f"https://discord.com/api/v9/channels/{channel_id}/messages", data=payload,

Discord.py Embed

I'm making a discord bot and I made a embed but it's not working I tried to make a new bot with few commands like ping and test but the bot is not replying asyn

How can I install opus for Windows?

Discord.py uses opus, but I didn't find how to install it.How can I do it? This method doesn't work https://github.com/discordrb/discordrb/wiki/Installing-libop