Skip to content

Tag: discord

Discord.py ctx commands not recognised

im fairly new to coding in general and recently started trying to code my own bot. Almost all of the tutorials i have seen use the ctx command however, whenever i use it i get this error: Here is part of my code that uses the ctx command. The aim is to get it to delete the last 3 messages

discord.embed update with role reaction

I’m trying to update a discord.embed with reaction: I create a discord embed with some default information, and add the reaction I want to use, the idea is that when someone react with one of the select reaction, the name of the user is added to the field. ( I actually have 4 commands using the same &#8…

How to tag a user using the discord.Member argument?

I have a discord bot with the command !sad. On execution the bot should reply with a random string from sad_list. I want the option to have the bot tag someone if you execute the command with the user: discord.Member argument. Preferred output: as opposed to only The following has already been tried: However …

changing the embed’s footer

i have this code that would change an embed’s footer and resend it to the log channel, but now it doesn’t work anymore for somereason this is the code: and this is the error i get: Answer The argument for set_footer is keyword-only:

How to fix discord music bot attribute

Error: discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: ‘VoiceState’ object has no attribute ‘voice_channel’ Code: Answer Try using voice.channel instead of voice.voice_channel. Also client.join_voice_channel will not work. Use something like…