Category "discord"

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

How to make a discord bot to auto send messages?

Is it possible to make a bot to automatically message people in my friends list or everyone from a specific server where i'm not an administrator? Where would i

Discord webhook post to channel thread

How does one use Discord webhooks to post to a channel thread, not the channel itself? For example, I have a text channel called videos in which are a number of

Passing strings for MessageEmbed#setFooter is deprecated

I'm getting this warning in the terminal when running my bot code: (node:6220) DeprecationWarning: Passing strings for MessageEmbed#setFooter is deprecated. Pas

Python Discord: RuntimeError: Event loop is closed when launched from a specific network

RuntimeError: Event loop is closed error when trying to run any bot in discord when connected to my wifi network. When connected to another network, everything

does anyone know how to fix this discord.py error

I keep getting this error. Everything is imported right and everything is installed. The code was working in atom and then all of a sudden I get this error. Eve

Discord.JS Avatar Command using User ID

I want to use the avatar command using user id's/mentions. I was able to use mentions, however I am unable to use the user ids. Here is my current code: const D