Making a Discord Bot In Python (Part 5: Embeds)

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ธ.ค. 2024

ความคิดเห็น • 20

  • @AlirezaFazeli-jz2ty
    @AlirezaFazeli-jz2ty ปีที่แล้ว +1

    Nice job

  • @mhatyi
    @mhatyi ปีที่แล้ว

    @Paradoxial how do you solve the problem where the bot doesn't mention the user in the embed?

  • @криптоскам
    @криптоскам 2 ปีที่แล้ว +7

    "discord.ext.commands.errors.CommandNotFound: Command "embed" is not found" 😭

    • @alpersimsek6493
      @alpersimsek6493 4 หลายเดือนก่อน

      you have to type @client.command() not @commands.command()

    • @Gamerboy-dr3be
      @Gamerboy-dr3be 8 วันที่ผ่านมา

      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

  • @princessnevada3924
    @princessnevada3924 2 ปีที่แล้ว +6

    Hello, gorgeous video tutorials! Please make a music bot :)☺

  • @twostepsout578
    @twostepsout578 ปีที่แล้ว

    I'm doing everything just as yourself, other simple commands in my cogs work, but embeds doesn't work at all. No idea why

    • @twostepsout578
      @twostepsout578 ปีที่แล้ว

      Fixed. Bot lacked a few permissions.

  • @turtlebear4900
    @turtlebear4900 2 ปีที่แล้ว

    You surpassed 100 easy so cool

  • @echantom
    @echantom ปีที่แล้ว

    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')?

    • @paradoxial7665
      @paradoxial7665  ปีที่แล้ว

      Yes, however it does not need to be an r string, it can just be a regular one!

  • @alpersimsek6493
    @alpersimsek6493 4 หลายเดือนก่อน

    when i type =embed the terminal tells me discord.ext.commands.errors.CommandNotFound: Command "embed" is not found

    • @paradoxial7665
      @paradoxial7665  4 หลายเดือนก่อน

      Join the discord server and create a forum!

  • @om3r26
    @om3r26 ปีที่แล้ว

    how can i configure the text of the embed so the member who have send the embed message will be shown?

    • @TheMurcielago
      @TheMurcielago ปีที่แล้ว

      embed_message.set_author(name=f"Requested by {ctx.author}", icon_url=ctx.author.avatar)
      just delete the 'mention' and it should work

  • @blus-
    @blus- 2 ปีที่แล้ว

    So do all the commands I make go into the cog folder as separate .py files?

    • @paradoxial7665
      @paradoxial7665  2 ปีที่แล้ว

      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…

  • @StrategyRazan
    @StrategyRazan 10 หลายเดือนก่อน

    What do o keep on main.py ?

    • @paradoxial7665
      @paradoxial7665  5 หลายเดือนก่อน

      You can host your bot on a cloud server or at a home server