Question, if I were to want to use my own image over just using the guilds image would I simply change the code to say embed_message.set_image(url=r'image link')?
Yes and no. You can have as many commands as you want inside a single cog file! Cogs are basically an organized class of commands for your bot to use, they separate your commands into categories if you utilize the built in help command. So for an example, you can have a cog called “FunCommands” and it may contain game commands or music commands or an 8ball command, etc…
Nice job
@Paradoxial how do you solve the problem where the bot doesn't mention the user in the embed?
"discord.ext.commands.errors.CommandNotFound: Command "embed" is not found" 😭
you have to type @client.command() not @commands.command()
if you don't have a cog, type @client.command() and then it should work, i made the mistake a couple of times, but i understood just now
Hello, gorgeous video tutorials! Please make a music bot :)☺
up
I'm doing everything just as yourself, other simple commands in my cogs work, but embeds doesn't work at all. No idea why
Fixed. Bot lacked a few permissions.
You surpassed 100 easy so cool
Question, if I were to want to use my own image over just using the guilds image would I simply change the code to say
embed_message.set_image(url=r'image link')?
Yes, however it does not need to be an r string, it can just be a regular one!
when i type =embed the terminal tells me discord.ext.commands.errors.CommandNotFound: Command "embed" is not found
Join the discord server and create a forum!
how can i configure the text of the embed so the member who have send the embed message will be shown?
embed_message.set_author(name=f"Requested by {ctx.author}", icon_url=ctx.author.avatar)
just delete the 'mention' and it should work
So do all the commands I make go into the cog folder as separate .py files?
Yes and no. You can have as many commands as you want inside a single cog file! Cogs are basically an organized class of commands for your bot to use, they separate your commands into categories if you utilize the built in help command. So for an example, you can have a cog called “FunCommands” and it may contain game commands or music commands or an 8ball command, etc…
What do o keep on main.py ?
You can host your bot on a cloud server or at a home server