Building a Discord Bot in Python (2024) Episode Four: Cogs

Поділитися
Вставка
  • Опубліковано 27 тра 2024
  • Hey guys, today we add cog files to our Discord boy project! Subscribe!
    MY DISCORD: / discord
    My WEBSITE: www.houseofcode.xyz/index.html
    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!
  • Наука та технологія

КОМЕНТАРІ • 18

  • @Zach-jf1iy
    @Zach-jf1iy Місяць тому +1

    Love the videos. Your teaching/guiding style works well with how I learn and absorb. If you're open to any suggestions, I'd like to learn how to use libraries.
    I also make graphics, feel free to reach out, I'd be glad to help out with your thumbnails and such - my only ask is that you keep teaching :D

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

    Thanks for the video!

  • @murkawicz
    @murkawicz 25 днів тому +1

    I see you are posting these a little more frequently. I'll be along for the ride. Trying to build a sick gambling discord bot

    • @paradoxial7665
      @paradoxial7665  22 дні тому +2

      All thanks to my much needed break from college of course. I plan to try and upload at least once a week

    • @murkawicz
      @murkawicz 5 днів тому

      @@paradoxial7665 thank you so much

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

    thank u

  • @taehoon731
    @taehoon731 9 днів тому

    6:13

  • @WFTYUE
    @WFTYUE 5 днів тому

    For some reason i get 3 errors
    error. 1
    line 31, in
    asyncio.run(main())
    error. 2
    line 28, in main
    await load()
    error. 3
    line 22, in load
    for filename in os.listdir("./cogs"):
    ^^^^^^^^^^^^^^^^^^^^
    Please anyone help

  • @killrahan-9837
    @killrahan-9837 25 днів тому

    Hello, thanks for the video, could you tell me what theme you are using please ?

    • @paradoxial7665
      @paradoxial7665  5 днів тому

      Hi, sorry for the late replies. I use a lot of GitHub themes for visual studios code as it is easy on my eyes lol

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

    Hello there, thank you for these tutorials, its really helped me learn to code and how to start up a bot with working commands. However i have trouble with a code i cannot seem to figure out. a word counter. heres an example
    User: Bruh
    User: Bruh
    User: !bruhcount
    Bot: @User has said "bruh" 2 times!
    i know there are bots out there already that count words but i've had no luck getting access to their code

    • @paradoxial7665
      @paradoxial7665  5 днів тому

      I believe if you initialize a channel object within Discord.py, I think there is a messages or contents attribute that is a list and you could iterate through to see how many times a person has sent __ in the channel.

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

    umm why im getting a setup error ???

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

      Join my discord server so we can help you out

  • @dashound777
    @dashound777 7 днів тому

    If I were this dude, I'd make this video on episode 1. The series he's been making is giving out tutorial that can easily run into bunch of problems just to promote his OWN discord server lmfao

    • @paradoxial7665
      @paradoxial7665  6 днів тому +2

      Hi, I appreciate the somewhat constructive criticism. However you should know the reason why this tutorial is placed as episode 4 is because of two reasons. Firstly, I’m trying to make this series somewhat for the most part in a similar order to my older one. Secondly, most people who are completely new to developing Discord bots with Python are not going to be worried about creating cogs for their commands. A person who’s completely new would be more than likely worried about making sure their commands actually work and can be used within Discord itself. When you work with cogs you are working with classes and furthermore, some basic OOP. A lot of my audience do not have much prior knowledge on programming in Python. So to not confuse anybody who is new, I want to post videos in an order that progressively gets harder as well as what’s demanded. And typically, when creating a Discord bot, functional commands and getting the bot online are what is going to be priority. Which is why those are part one and two. Furthermore, my Discord server is meant for those who need quick help with their code incase they do run into any issues. The “promotion” you speak of is really just letting my audience know that if they get stuck, I myself, as well as others are available.

    • @WFTYUE
      @WFTYUE 5 днів тому

      Dawg Bro made a whole 3 paragraph essay about how you were wrong, oh and @paradoxial7665 Keep up the good work

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

    Hey First comment here, your videos are actually nice but please if you could actively post videos like in 2-3days it would be nice