When a user is typing, how to make the bot to also start the typing event in a certain channel and stop when the user who was typing stopped. ctx.trigger_typing/ctx.typing cannot be used since we need to track the user if he/she is typing. So how to do that? Source: Python..
Hello I’m trying to create a music bot .It is joining the voice channel but not playing music in the channel. I have downloaded all the packages and ffmpeg too.I did not understand what is wrong this I have also checked it thrice but not found any mistake.Anyone who found mistake pls explain and correct ..
i’ve encountered an issue where I can’t seem to get my addrole command to work. I’ve searched through every video and article and have spent hours to try and figure out why my code isn’t working. I want it so whenever a admin calls the ,addrole command, the user they mentioned gets that role. (example: ..
I’m trying to scrape the match details on "flashscore.com", for example "https://www.flashscore.com/match/hEyZ9RHu/#match-summary", and then reuse them in an embed on discord. Basically all of this is being done through a discord bot, but that doesn’t really matter right now. I’m trying to get one of the person’s full name, but it doesn’t seem to be ..
I have created a discord bot that interacts with a mysql database but when you run a command that uses the UPDATE query it doesnt execute the update query but executes sleep , meaning the data in the DB isnt chnaged. Source: Python-3x..
So I have been trying to make a selfbot for Discord but I’ve not being successful with my code and I kind of want to understand what’s wrong. I am trying to code a purge command and the following happens: The bot reacts when other users call it but not me; When I call it ..
Sorry about this unprofessional question but I’m kinda new to sqlite but I was wondering if there’s any way I can open two files in same python command db = sqlite3.connect(‘./cogs/database/users.sqlite’) when I open this in my command it doesn’t allow me to do same thing in the same command to open another file so ..
I’m using a json file in order to store the star-board channels for the guilds. Here’s my code: @client.event async def on_raw_reaction_add(payload): star = await get_star_channels() if str(payload.message.guild.id) not in star: return starchannel = client.get_channel(star[str(payload.message.guild.id)]) if payload.emoji == ‘⭐’: if str(payload.message.guild.id) not in star: return if not payload.member.guild_permissions.manage_messages: await payload.message.channel.send("You don’t have the permissions to ..
I have had my bot for my server in one single file for a long time and I decided to shift to cogs because the file had 2000+ lines and it was messy. I got the commands perfectly working but the problem is with events (or Listeners in Cogs). I have a completely different file ..
I have a list of nsfw words as a json file in my discord bot folder. What I want to do is, when I type ".add (word)", the word gets added to the list. I have made this command, and it works too, since when I type that word again it gets deleted. But when ..