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

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

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

  • @paradoxial7665
    @paradoxial7665  7 месяцев назад +4

    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

  • @cauaribeiro2746
    @cauaribeiro2746 7 месяцев назад +3

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

  • @BenneyYTTV
    @BenneyYTTV 7 месяцев назад +1

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

  • @ecommercewithjay8857
    @ecommercewithjay8857 3 месяца назад

    Thank you so much. I had to go to my python folder in applications folder on mac and double click the certificates file to install ssl certs and did some stackoverflow research; and the code you presented worked fine. Thank you so much hitting like and subscribe button.

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

    U HAVE THE SAME BACKGROUNDOF PC AS ME!!! also tnx for making an updated version of the series

  • @aseirexe5794
    @aseirexe5794 5 месяцев назад

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

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

    Thank you! On to your next tute! name and aliases are a gem!

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

    Learning python through the use of Discord botting. Even tho it's the first video in the series, I have now learnt to mask my token! Thank you!

  • @angelo691
    @angelo691 5 месяцев назад +7

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

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

      Chat GPT can probably help!

    • @angryox3102
      @angryox3102 3 месяца назад

      @@NaasicChatGPT took me from zero to having a scheduled python script that does a scheduled web scrape that filters the information and then sends me a webhook message in discord with the info. It’s amazing what that site can do.

  • @madscience6283
    @madscience6283 5 месяцев назад

    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...

    • @OfficerBlue42YT
      @OfficerBlue42YT 5 месяцев назад

      pip didnt work for me... how did you do it?

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

    Thank you so much :) very clear guide

  • @EnriqueMartinezHernandez-j1l
    @EnriqueMartinezHernandez-j1l 7 месяцев назад

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

  • @ConsoleWizard20
    @ConsoleWizard20 6 дней назад

    When I try run the bot it says no audioop module found ?

  • @mariocraft987
    @mariocraft987 4 месяца назад

    Very good video! you deserve a sub!

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

    PS C:\Users\sikha\Desktop\python> & C:/Users/sikha/AppData/Local/Programs/Python/Python312/python.exe c:/Users/sikha/Desktop/python/main.py
    Traceback (most recent call last):
    File "c:\Users\sikha\Desktop\python\main.py", line 1, in
    import discord
    ModuleNotFoundError: No module named 'discord' this is the error i get when running this programm any one know what the issue is?? PLS HELP ME

  • @sonofeazydekko2750
    @sonofeazydekko2750 3 месяца назад

    When I try to run it I get the error ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

    • @paradoxial7665
      @paradoxial7665  3 месяца назад

      Join my discord server so we can properly assist you

  • @MrHaydon1
    @MrHaydon1 6 месяцев назад

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

  • @Cleverwolfano
    @Cleverwolfano 7 месяцев назад

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

    • @paradoxial7665
      @paradoxial7665  7 месяцев назад +1

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

    • @Cleverwolfano
      @Cleverwolfano 7 месяцев назад

      Thanks for your reply@@paradoxial7665

    • @xxdonkevlarxx
      @xxdonkevlarxx 7 месяцев назад

      . 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. 😅

  • @static_crypto
    @static_crypto 5 месяцев назад

    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

    • @sivce
      @sivce 5 месяцев назад

      you already install python and py extensions?

    • @tsay214
      @tsay214 15 дней назад

      Check if pip is added to your PATH. Assuming you're on Windows, run *_echo %PATH%_* in the terminal.

  • @GiorgioTM
    @GiorgioTM 7 месяцев назад

    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

  • @MrGaming-tw1ln
    @MrGaming-tw1ln 7 месяцев назад

    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 7 месяцев назад

    following it, i hope you do upload tomorrow too

  • @Waffles-uu7mf
    @Waffles-uu7mf 4 месяца назад +1

    DEVELOPOR PORTAL WAS UPDATED NOO

  • @Silquey
    @Silquey 7 месяцев назад

    gj

  • @joakim1136
    @joakim1136 4 месяца назад

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

    • @phoenixpl6571
      @phoenixpl6571 4 месяца назад

      Try typing this in the cmd window: `python -m ensurepip --default-pip`

    • @tsay214
      @tsay214 15 дней назад

      Check if pip is added to your PATH. Assuming you're on Windows, run *_echo %PATH%_* in the terminal.

  • @NeuralBytesa
    @NeuralBytesa 6 месяцев назад

    Yo he got OSU!❤

    • @paradoxial7665
      @paradoxial7665  3 месяца назад

      Haha. Used to be addicted to that game. Highest PP play I’ve had was around 120. Sadly though I lost access to my account

  • @kayraze0
    @kayraze0 5 месяцев назад

    tamer abi selamlar

  • @MegurRBLX
    @MegurRBLX 6 месяцев назад

    you probably know some lua

    • @paradoxial7665
      @paradoxial7665  3 месяца назад

      Not much at all. Would like to learn it a bit more so I can make roblox scripts lol

  • @EduardoCruz-tr4mz
    @EduardoCruz-tr4mz 6 месяцев назад

    pip does not work

  • @welshtony1
    @welshtony1 7 месяцев назад +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 7 месяцев назад

      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 7 месяцев назад

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

    • @themodman77
      @themodman77 7 месяцев назад

      dw its fixed now

    • @Cleverwolfano
      @Cleverwolfano 7 месяцев назад

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