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:
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
I understand that usually the discord bots are in a listening (blocking) loop, but how can I create a function that connects, send a message or perform any acti
So I'm trying to make a command that adds the name of a song to an user. I just don't understand how I should do that. I tried looking on the dictionary documen
Question title defines the issue. I install the discord.py module with this following: pip install -U git+https://github.com/Rapptz/discord.py However, when I t
So I have this temp role command and I have made it to save the member id and time for the role in a JSON file so the command can't be run on a single member tw
i made with discord-components a message with buttons, but i get this error: TypeError: Object of type Button is not JSON serializable The code is this: msg = a
So i have been seeing many youtube vids and got a working code but I cannot find the error in my code import discord from discord import Embed from itertools im
So I was making a bot in discord.py which joins a voice channel and disconnects from it after a delay of 3 seconds, just to test how to make it disconnect. I ha
I have a problem with making discord bot on repl.it, my list is 'ObservedList' and i dont know what to do with this, when I watch some tutorials its always just
I want to make a simple say command in discord.py (ex.!say something - the bot says "something" and deletes the command message) but every code I found doesn't
I tried to make a Anti Ghostping event but it don't works and show no errors Code: @bot.event async def on_message_delete(message, member: discord.Member = No
trying to run a discord bot this is the code import discord from discord.ext import commands TOKEN: str = "Token" client = commands.Bot(command_prefix = '.')
I found it a bit difficult and annoying to change colors in discord.py (embed color for instance). I made a class for the different color codes to use in discor
This is my code which caused errors when added: if message.content == "ID start": dir=(r'C:\\Users\\User\Desktop\User Profiles') file = message.author
I am trying to ass different roles to people rapidly to give users the impression of their name being rainbow ( yes I know its against TOS ), and I am starting
I am trying to make slash commands in my bot. However when I run the bot, the slash commands dont appear, I've tried reinviting the bot too. Here it my current
I have created button roles using discord.py/pycord and they work pretty well but after some time the interaction gets failed it works well for some time but la
If a user has the privacy setting "Allow direct messages from server members" turned off and a discord bot calls await user.dm_channel.send("Hello there") You'
I have been trying to make a nmap scanner and put it in a discord bot. However it doesnt seem to work. It isnt even throwing any error or anything Can someone p