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

Поділитися
Вставка
  • Опубліковано 19 січ 2025

КОМЕНТАРІ • 57

  • @cauaribeiro2746
    @cauaribeiro2746 10 місяців тому +4

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

  • @BenneyYTTV
    @BenneyYTTV 10 місяців тому +1

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

  • @paradoxial7665
    @paradoxial7665  11 місяців тому +3

    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

  • @jorgetoro1773
    @jorgetoro1773 4 дні тому

    Thanks for your tutorial, you make it look easy to beginners like me! 😁😁🙏

  • @aseirexe5794
    @aseirexe5794 8 місяців тому

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

  • @A-Handful-Mat
    @A-Handful-Mat 4 місяці тому

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

  • @EnriqueMartinezHernandez-j1l
    @EnriqueMartinezHernandez-j1l 11 місяців тому

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

  • @kayohmedy
    @kayohmedy 5 місяців тому

    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!

  • @jetupny6260
    @jetupny6260 4 місяці тому

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

  • @madscience6283
    @madscience6283 9 місяців тому

    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 8 місяців тому

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

  • @angelo691
    @angelo691 8 місяців тому +8

    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 7 місяців тому +2

      Chat GPT can probably help!

    • @angryox3102
      @angryox3102 7 місяців тому

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

    • @ChickenChicklePickle
      @ChickenChicklePickle 16 днів тому

      Sounds like your file is named discord

  • @mariocraft987
    @mariocraft987 7 місяців тому

    Very good video! you deserve a sub!

  • @Carebear_Pooh
    @Carebear_Pooh 5 місяців тому

    Thank you so much :) very clear guide

  • @defloirgreene5428
    @defloirgreene5428 2 місяці тому +1

    When I try to import discord, it says ' Import "discord" could not be resolved"

  • @Manikater
    @Manikater Місяць тому +1

    can't use pip

  • @MrHaydon1
    @MrHaydon1 9 місяців тому

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

  • @ConsoleWizard20
    @ConsoleWizard20 3 місяці тому +1

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

    • @MartinFLL
      @MartinFLL Місяць тому

      Solve it by running this command:
      pip install audioop-lts

    • @plokenv
      @plokenv 28 днів тому

      @@MartinFLL doesnt work in cmd

  • @sik4901
    @sik4901 4 місяці тому

    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

  • @Waffles-uu7mf
    @Waffles-uu7mf 7 місяців тому +1

    DEVELOPOR PORTAL WAS UPDATED NOO

  • @spsc07
    @spsc07 11 місяців тому

    following it, i hope you do upload tomorrow too

  • @TerrarkoGaming
    @TerrarkoGaming 3 місяці тому

    my bot doesnt go offline after i stop the main.py file (nvm just need to wait a few secs)

  • @MrGaming-tw1ln
    @MrGaming-tw1ln 11 місяців тому

    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.

  • @GiorgioTM
    @GiorgioTM 10 місяців тому

    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

  • @adax9148
    @adax9148 2 місяці тому

    It does not work for me, neither in node.js works. Damn

  • @Cleverwolfano
    @Cleverwolfano 11 місяців тому

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

    • @paradoxial7665
      @paradoxial7665  11 місяців тому +1

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

    • @Cleverwolfano
      @Cleverwolfano 11 місяців тому

      Thanks for your reply@@paradoxial7665

    • @xxdonkevlarxx
      @xxdonkevlarxx 10 місяців тому +1

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

  • @sonofeazydekko2750
    @sonofeazydekko2750 6 місяців тому

    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  6 місяців тому

      Join my discord server so we can properly assist you

  • @static_crypto
    @static_crypto 8 місяців тому

    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

    • @zarket
      @zarket 8 місяців тому

      you already install python and py extensions?

    • @tsay214
      @tsay214 3 місяці тому

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

  • @Silquey
    @Silquey 11 місяців тому

    gj

  • @EduardoCruz-tr4mz
    @EduardoCruz-tr4mz 9 місяців тому +2

    pip does not work

  • @joakim1136
    @joakim1136 7 місяців тому

    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 7 місяців тому

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

    • @tsay214
      @tsay214 3 місяці тому

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

  • @ThatOneLinuxGuy
    @ThatOneLinuxGuy 9 місяців тому

    Yo he got OSU!❤

    • @paradoxial7665
      @paradoxial7665  6 місяців тому

      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

  • @MegurRBLX
    @MegurRBLX 10 місяців тому

    you probably know some lua

    • @paradoxial7665
      @paradoxial7665  6 місяців тому

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

  • @kayraze0
    @kayraze0 8 місяців тому

    tamer abi selamlar

  • @TheNeo2k
    @TheNeo2k 2 місяці тому

    invite generator is inside oauth.

  • @welshtony1
    @welshtony1 10 місяців тому +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 10 місяців тому

      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 11 місяців тому

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

    • @themodman77
      @themodman77 11 місяців тому

      dw its fixed now

    • @Cleverwolfano
      @Cleverwolfano 11 місяців тому

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