Category "discord"

Discord Python bot - Coroutine never awaited

I'm trying to make a Blind-test bot game in Python, which actually works pretty fine. I managed to get a whole spotify playlist in the queue with that play_next

How to create and set permissions of a role at the same command in discord.j?

I have been trying to make a command that creates the roles that are necessary for some actions of the bot and I have successfully made the code for creating th

Discord Error 403 error code: 50001 Missing Access

when i run python3.9 -m ctbot i got this error, and the slash command will not be updated. after i kicked my bot and reinvited my bot to my server, the slash co

Tenor API search varied results

I'm making a Discord bot. Currently where if you type -gif **arguments** it uses the Tenor API and posts the result of the gif within a message which does work

Is there a way to set the timestamp to UTC in discord.js

I wanted to create a footer for a discord embed, that has UTC time so I created the lines in the following, and then it errored a lot, so I turned it into an ob

Reacting messages with Emojis in Discord.py

I'm making a bot with Python and I want to send messages with emojis. How can I react a message in discord.py? I found this method in stackoverflow but How can

Can't jump to next channel when bot does not have permission to send message discord.py

So, I wrote some code, that sends a message to each channel in a server; server_id = 974656708672925260 message = "test" thread = 20

Do something when a specified user react discord.js

Hello i have a marry command and i want to do a reaction verify, when the tagged person reacts with ✅ do the actions i add there. I can't find a solution,

Python Discord Bot reproduce audio from youtube link

I'm trying to make my discord bot reporoduce audio from a link @client.command() async def play(ctx, url): #...code but it seems that I need to have install

Discord.py: How to fix "event loop is closed"

I am new to programming. I am trying to have my discord bot open up command prompt to confirm it can run, but I am getting this error: File "C:\Users\---\Ap

I am having this " throw new RangeError('BITFIELD_INVALID', bit);" error; and i just can not find the solution

I keep getting this error: throw new RangeError('BITFIELD_INVALID', bit); ^ RangeError [BITFIELD_INVALID]: Invalid bitfield flag or number: undefin

How to get discord message content with python websocket

from discord.ext import commands from threading import Thread client = commands.Bot(command_prefix="!") @client.event async def on_message(message): prin

How do i make a working slash command in discord.py

I am trying to make a slash command with discord.py I have tried a lot of stuff it doesn't seem to be working. Help would be appreciated.

Twitter monitor output to a Discord server?

Would like to learn how to make a twitter monitor that would output its findings to discord. This is a project I've had in mind for awhile and would like to lea

DJS Cannot read properties of null (reading 'premium')

In my code, before it does anything I have it check if there is data and if there isnt then make a new mongodb collection but when running the command and there

Discord js send everyone pm

I want send everyone in server a message or a embed. I searching google nothing shows up . I Saw some bots doing anonuncements. PM everyone. How i can do that

Discord radio bot randomly disconnecting

Djs (v12) Maybe someone is already familiar with this problem in their code and knows the solution. After a few hours of listening, the bot just randomly stops

role react bot discord python

I'm trying to create a react role on a message that my bot would have sent, how can I do it? here is my code debut: @bot.command(name = 'role_react_1') async de

How do I get all messages on a channel and post to hastebin? discord.js

I'm idealizing a doubt bot. In view of this, I must explain that at the end of the member's question, the channel must be closed and before that the bot must se

else statment ignored discord python rewrite

The user is successfully muted if the bot detects "discord" in the custom signature. When user remove discord from custom signature, he not unmuted. The else pa