Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "discord.py"
-
That moment when you work the whole day to write a discord bot from scratch. No discord.py and other wrappers. Pure websockets, oauth2, https, json loads here and there. Understanding how the discord API works was a real challenge, but I did it :).
Most of my time was spent on discord's gateway connection and identification system.
The bot can renew its token, get all the guilds it is part of, all the channels and users of these guilds, send message and communicate with the gateway.
Tomorrow I will start connecting it to a voice channel and let it "speak". Thinking of combining text-to-speech with it, but I am not sure how well they are going to harmonize together.5 -
Gonna update my discord bot! But I'm gonna rewrite it all in JavaScript because FUCK Discord.py honestly a horrible community and shit docs it just didnt feel right at all the only reason i stuck with it because it was my senior project and my first big project9
-
Day one of my first big project.
It felt weird but a little easy to grasp discord.py but I felt like I was just copying people as I read or watched tutorials on how to use things and how they work and while I was getting started In general. But I got the dice function working great. I had an error but I fixed it.
After I got it working I uploaded it to my friends server and they messed around with it and it felt so great because they were enjoying it and complimenting me and I’m not even done with it :)
I’m learning a lot but I’m also struggling with certain areas like finding good documentation or feeling like I’m just copying.. but I’m gonna keep doing these update things because I feel cool and official as I write these :^) -
Working on creating a Discord chat bot... Trying to fix & improve bot command to work better... Testing it... That's all what i'm working on bot.
Btw, i'm developing a bot with Discord.py library.1 -
I'm currently writing a discord bot using the discord.py library and I cannot decide how to structure my code.
I was thinking of writing it in modules, with a core script that would load any valid module class that would include an array of all the event hooks it wanted, whether it wanted to send messages and so on.
It's a nice way to practice python after my last working bot that I wrote in (Sit down for this) PHP using an outdated and abandoned wrapper (Yeah, event-based programming in PHP, I know)
Are there any better ways to do this? I really don't want to hardcode all the functions in, only to have it fall apart later after adding another feature...1 -
A TRIBUTE TO CODERS WHO JUST STARTED MAKING DISCORD BOTS USING PYTHON WITH PYTHON 3.9
When you just got the hype of making Discord Bots using Python ...
You update to Python 3.9 ... And then Go to CMD (for windows users) and type ... "pip install discord.py" ... You are very happy ... thinking finally You can add your custom bot to your server and then ... even pip tells you that you are noob at discord.py -
Yo guys...i know it's been a long time since i made a rant or something like that.....but i was working on my discord bot......i am giving the link below....if u guys want to help me verify it then please invite it to your server.....thanks(advance ;))
https://discord.com/api/oauth2/...