Building a Discord Bot in Python (2024) Episode One: Getting Started

Sdílet
Vložit
  • čas přidán 31. 05. 2024
  • Hey guys, today we reboot an old series on my channel on building your very own Discord Bot in Python. This series will cover some of the new stuff that has been added to Discord and its pythonic API since the old series has been out. Subscribe!
    MY DISCORD: / discord
    MY GITHUB: github.com/Paradoxial8172
    DONATE: paypal.me/TamerBoi?country.x=...
    Music Credits:
    N/A
    Intro is made by somebody else on panzoid, only changed the music Tranquillity - ProdRiddiman)
    Outro is made by me :)
    Outro Music is "In A Cabin By The Lake" by Lazarus Moment!
  • Hry

Komentáře • 29

  • @cauaribeiro2746
    @cauaribeiro2746 Před 3 měsíci +2

    You teach very well, I'm from Brazil and I loved your teaching, keep the videos coming!

  • @BenneyYTTV
    @BenneyYTTV Před 2 měsíci +1

    Good stuff. I’m learning and looking forward to following along

  • @aseirexe5794
    @aseirexe5794 Před 14 dny

    this was really nice and easy to follow. cant wait to continue to work through and set things up.

  • @paradoxial7665
    @paradoxial7665  Před 3 měsíci +2

    Ran into any problems whilst building your bot? Come join my Discord Server! Over 600 members have joined all who have had help and who also offer help to those struggling with coding! discord.com/invite/UqdbGp426a

  • @angelo691
    @angelo691 Před 18 dny +1

    i am getting this error ImportError: cannot import name 'commands' from 'discord'. Pls some help. can't go any further without fixing that

  • @user-xv9qp1rw9s
    @user-xv9qp1rw9s Před 3 měsíci

    very good video, I can't wait to see the next videos. :D

  • @madscience6283
    @madscience6283 Před měsícem

    Thank you for how straightforward this is. I'm trying to make a bot to scrape my private server from when my wife and I were LDR. I'm then gonna feed all that into chatgpt, and make the bot mimic me. Yes, kinda like that black mirror episode...

  • @joakim1136
    @joakim1136 Před 5 dny

    i cant use C:\Users\aspjo>pip insatll discord
    'pip' is not recognized as an internal or external command,
    operable program or batch file.

  • @Haydonw
    @Haydonw Před měsícem

    I'm very new on every on coding and stuff im trying to learn new things so lets hope this video helps :D

  • @MrGaming-tw1ln
    @MrGaming-tw1ln Před 3 měsíci

    Paradox please please I have request to create a welcome message tutorial with the user image who joined and name on it maybe by pillow please make tutorial video on that.

  • @spsc07
    @spsc07 Před 3 měsíci

    following it, i hope you do upload tomorrow too

  • @static_crypto
    @static_crypto Před 26 dny

    the pip install discord command is not working and it says pip is not recognised as an internal or external command, operable program or batch file

    • @Zakyeite
      @Zakyeite Před 22 dny

      you already install python and py extensions?

  • @Cleverwolfano
    @Cleverwolfano Před 3 měsíci

    What's the difference between using a txt file and a .env file for hiding the token?

    • @paradoxial7665
      @paradoxial7665  Před 3 měsíci +1

      Nothing much. Don’t quote me on this but I think .env has stronger security features.

    • @Cleverwolfano
      @Cleverwolfano Před 3 měsíci

      Thanks for your reply@@paradoxial7665

    • @xxdonkevlarxx
      @xxdonkevlarxx Před 3 měsíci

      . Env is primarily used for distribution security since if you ever plan to share your code or have it sit in a Github repo you don't want to share that. Github and most other version control software will ignore .env files by default. Which means less work for you when creating repos. Txt files on the other hand can be easily scanned for and are always included unless you include them into your ignored files. There are other benefits, primarily since env files emulate the env variables found on all/most operating systems. So you can easily incorporate it using the os module in Python. There's more but I'll leave it there for now. 😅

  • @Silquey
    @Silquey Před 3 měsíci

    gj

  • @GiorgioTM
    @GiorgioTM Před 2 měsíci

    idk why im here, not whjy this is on my page but i pressed on it becasue u look justg like austincs withoutb glasses and better beard

  • @gorilla-snacks
    @gorilla-snacks Před měsícem

    Yo he got OSU!❤

  • @MegurRBLX
    @MegurRBLX Před 2 měsíci

    you probably know some lua

  • @kayraze0
    @kayraze0 Před 11 dny

    tamer abi selamlar

  • @EduardoCruz-tr4mz
    @EduardoCruz-tr4mz Před měsícem

    pip does not work

  • @welshtony1
    @welshtony1 Před 2 měsíci +1

    working great until I created the file.
    FileNotFoundError
    [Errno 2] No such file or directory: 'token.txt'
    Exactly the same code as you have done :/
    EDIT: Figured it out and leaving this here just encase anyone else has the same issue. The projects folder I had my bot in was call "Discord Bot" - Python doesn't like the space so I renamed it "Discord_Bot" and that fixed it :)
    Thanks for these videos. I programed a discord bot years ago with the original Python and it is a mess and I couldn't work out how to upgrade to 2.0 for slash commands. Hopefully your videos will help me :)

    • @kuebel_ben
      @kuebel_ben Před 2 měsíci

      You could also give ghe whole file name like “C:\\user\\…“ but you need to put in those 2 backslashes. This is the only method that works if your .txt file isnt in the same folder as your .py file

  • @IG_FROST
    @IG_FROST Před 3 měsíci

    Hey man, that was a great video, but the quality was 360p at max, please upload these vids in higher resolution

    • @themodman77
      @themodman77 Před 3 měsíci

      dw its fixed now

    • @Cleverwolfano
      @Cleverwolfano Před 3 měsíci

      Was HD for me, you probably watched it before 1080p was finished processing.