Creating a Discord Bot in Python (2025) | Episode 3: Slash Commands

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 32

  • @lennoz8049
    @lennoz8049 22 дня назад +3

    praying part 4 comes out soon! These are great and very well made please keep going

  • @aposkus
    @aposkus Месяц назад +1

    Amazing tutorial, easy to follow and is very clear for someone who knows absolutely nothing at coding. Awaiting for part 4, keep it up!

  •  2 месяца назад +4

    EPIC MAKE PART 4!!

  • @junjieoyan4800
    @junjieoyan4800 Месяц назад +2

    Nicely demonstrated! Don't forget to reset the token

  • @TheDiverJim
    @TheDiverJim Месяц назад +2

    love this series. very well done.

  • @einerolleklopapier4683
    @einerolleklopapier4683 2 месяца назад

    Thank you very much I really enjoy your tutorials! We need more frequent videosssss ❤

  • @TheDiverJim
    @TheDiverJim Месяц назад +1

    you earned a sub after this series. please keep it up!

  • @crowxar
    @crowxar 2 месяца назад

    Pretty slick, love the tutorial

  • @Patrick-yl4hp
    @Patrick-yl4hp 7 дней назад

    MAKE MORE PLEASE!

  • @iluk3606
    @iluk3606 2 месяца назад +1

    Nice!

  • @ahmed20gh
    @ahmed20gh 2 месяца назад +1

    thx bro

  • @BillyMaurice
    @BillyMaurice 10 дней назад

    I'm getting the "Error syncing commands: 403 Forbidden (error code: 50001): Missing Access". I've tried the things suggested in Stack Overflow but I'm still not getting the slash command to activate.

  • @NextLevelDev
    @NextLevelDev 2 месяца назад +4

    next episode when

    • @James_S
      @James_S  2 месяца назад +3

      Should be coming out in the next few days

    • @बीओटी
      @बीओटी Месяц назад +3

      @@James_S a few days huh...

    • @beedeefpv8930
      @beedeefpv8930 Месяц назад +1

      @@James_Swhen

    • @mirandamarcaros
      @mirandamarcaros 16 дней назад

      could you include the source code as well, pls

  • @INPHINITHY
    @INPHINITHY Месяц назад

    So what jf you have your bot and you want to separate commands in folders how will you implement slash cmds

  • @VampireDLL
    @VampireDLL Месяц назад

    when i put the try and except in 15:27 it says on the async below and the except it says Expected indented block Pylance

  • @iimou3adkiller607
    @iimou3adkiller607 Месяц назад +1

    Music bot pls !

  • @Lizardlord6
    @Lizardlord6 2 месяца назад

    Thanks man this is helping so much. I tried reading the API Refrence but it's not entirely clear. I'm curious about timed events and sending links.

    • @Lizardlord6
      @Lizardlord6 2 месяца назад

      i should clarify, sending a message and link to a site at a specific time every week/day/month like for a news channel.

  • @SamePlayer20589-j
    @SamePlayer20589-j 2 месяца назад

    i have a problem it dont say anything about syncing

  • @itzCookie64
    @itzCookie64 20 дней назад

    how to link channel with bot?

  • @daddyofalltrades
    @daddyofalltrades Месяц назад

    Thank you sooo much for the tutorial. !! You're the best ❤

  • @ISmellCapDog
    @ISmellCapDog Месяц назад

    Bro what the heck is that syntax on line 29? since when can you use a colon inside function arguments? I'm so confused. I know in some other languages you can use that to inherit a class but never have i seen that in python. And I'm having a hard time finding any documentation of that online. I know "@" is used to overload a method on line 28 but somebody help me out here.

    • @ISmellCapDog
      @ISmellCapDog Месяц назад +1

      Update: I understand it now. I had to ask Bing AI because I didn't know what to call that syntax. But apparently its called "Type Hints". In other languages you must declare the type of variable before setting it. in python we never had to do that. But after python 3.5 they added this for better code readability and error debugging. so basically you are just letting the interpreter and who ever is reading your code know, that "this variable: should be this type". if not then the discord module should have its on error detection to tell what problem occurred.

  • @SamePlayer20589-j
    @SamePlayer20589-j 2 месяца назад

    it justs run the hello feature

  • @milkywayish9315
    @milkywayish9315 24 дня назад

    tragic 1 month ago

  • @Fasky005
    @Fasky005 Месяц назад

    Can anyone help me with my code? - in comment below

    • @Fasky005
      @Fasky005 Месяц назад

      It doesn’t show any error in consol but the role isn’t given the commands work perfectly

    • @FascinatingFunAnimalFacts
      @FascinatingFunAnimalFacts 9 дней назад

      @@Fasky005 logic error