Friends, I am making a discord script using python I have to run this script multiple times with different parameters, I am trying that with os, threading, mult
I'm trying to keep my token in an enviroment variable, so I created the file .env, and I stored the TOKEN there: TOKEN=XXX When I run my .py file, I can't get
I'm not familiar with Python so I'm afraid that this could be a silly question for all of you but I have already tried my best to solve it. I worked on a self-p
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
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
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
How would I go about making a coinflip embed command. What I want it to do is make a discord embed saying Coinflip | (Bot Name) as the header, then the field is
Keep getting an error for the reaction_remove, just copy-pasted my whole code(minus the client id) cause it might help, I have no idea what's wrong as the first
i have an issue with my code which when use !mute command to @username 9s it's muted for 9 seconds but when inputted !mute @username 32s it only muted 3 secon
I've got a question, I need to get a list from all members from all servers where the bot is online(I'm using discord.py rewrite), Right now I have this code-sn
I tried to make an command which displays mentioned users avatar. This is the code: @client.command(aliases=['av']) async def avatar(ctx, *, member: discord.Mem
I am using revolt.chat which has a similar API to discord.py called defectio. This is the documentation for the default help command https://github.com/Darkflam
I would like to make a test button but it writes me an error shows which I did not find anywhere on the internet code: @slash.slash( name="ButtonTest", desc
I am making a discord bot with discord.py on python 3.8.6. My other functions, such as on_ready and other commands, work. However, on_member_join is never calle
When I ban a user using the command, it blocks him/her, so when I unban a user, I want to send to him/her an embed telling him/her "you banned has been removed"
I want my program to welcome someone as soon as they join a discord server (discord.py), and that part works fine. However, to get the guild name, my program se
The code in question below works flawlesly, it creates a channel and gives it a description. But i can't figure out how to proceed from here and have it send a
When i run this code (discord.py), i do not get the full lyrics: @commands.command() async def lyrics(self, ctx, arg1, arg2): song = genius.search_song(arg2
I've been trying to make a bot using discord.py add a reaction to a message using discord.py after reading this (which is not what I wanted because I am not usi
I know that client.run("TOKEN") blocks off any code following it...I'm trying to have my program print a message (in my case when a Nike product restocks), and