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-bot"
-
Six months ago my girlfriend broke up with me...
BUT since then I've...
•Found the wonderful world of devRant
•Gotten back into electronics
•Taught myself PCB design
•Gotten back into programming
•Made a discord bot
•Started teaching myself calculus
•Began building an ai for said discord bot
•Designed a wireless mesh networking NIC for the TI84+CE
Sure I feel like shit most of the time but before I did anyway but I've been super productive and it feels kind of nice45 -
Heroku: "You've used up your 550 free ours"
Me: "oh snap"
*Opens discord*
*pings bot*
Bot: "pong"
Me: ¯\_(ツ)_/¯
Thanks Heroku3 -
So my friend and I are trying to launch his bot in his Discord server. I'm typing node index.js: nothing. He tells me to delete the points.json folder. I try launching it again. NOTHING. I then ask him what I do then, so he sends me another .js file. Well it turns out I didn't have Node installed in the first place when I thought I already had. Give if take a good 10 minutes later, the bot is online. My favorite commands don't work because I was missing those files.6
-
+++ Thank you for 1000+'s! +++
So guys we did it! We've reached our first big milestone!
This account was created about a month ago, and we are already this far!
Thanks to all authors (@DLMousey, @filthyranter, @baewulff) who are putting a lot of work and time into their articles and help this account to further grow in size!
To make this article at least a bit informative, here's how we publish our posts:
When I started this account, I hadn't thought of how articles were going to be published. Should I give the password to all writers? Should I post the articles manually?
Well, after I've started the devNews Discord Server, @olback suggested making a Discord Bot, that helps us to publish our stuff.
After surprisingly few hours, @olback already got a prototype working.
We have a special channel and whoever writes stuff in it, updates the current article. Later, I took on the work, @olback has done and switched to LowDB, to be able to let multiple users have their own articles they are working on and much more. (Like special signatures)
And that's how it is now.
We have a channel for draft, where we write our stuff and a channel for publishing, where the bot listens to what we write and then publishes the articles with a command.
That's all of it.
Thank you for reading!7 -
That moment when you're providing a free service (a Discord bot) and a person tells you they would be happy to donate and you're just like:
༼ʘ̚ل͜ʘ̚༽ holy sh*t3 -
Successful startup message on my friends discord bot:
Yo
His palms are sweaty, knees weak, arms are heavy
There's vomit on his sweater already, mom's spaghetti.
Bot Ready.
😂
https://github.com/nbd9/PastaBot -
Its never a good idea to let 2 bots have a conversation on Discord...
i think they have some kind of relationship crisis idk.3 -
Le Discord login:
*logs in*
Welcome back! Would you please authenticate after your first and successful login, so that we're sure that you're not a bot?
*15 (I shit you not) craptchas later*
New login location detected! Please check your email too!
FOR FUCKING REAL DISCORD!? How about you please just let me fucking log in already? Or are your audience - gamers - really *that* prone to infections that logins from bots are that big of a problem? Because guess what motherfuckers, then you've got *WAY* bigger problems to fix already. FUCKING LET ME IN!19 -
Friend: Can you write me a discord bot?
Me: Sure, I guess.
Me: *thinking* I can probably do it in 2 hours or less*
Me: *2 hours later* why does this API work like that and why the fuck is my node module folder so big???9 -
Would it be a bad idea if I mention my biggest project is a Discord bot supplying explicit material to a total of 7000 servers on my CV?
Honestly unsure.13 -
It took me around 10 hours, but I finally got a new feature onto my discord-bot. Best thing about it is, that I can basically transfer it onto every meme format4
-
Introducing the first (open source) devRant Discord Bot.
Current Features:
- Bot specific permissions
- devrant@<devRant username>
- devrant#<devRant randId>
- !help (Help command)
More features will come soon!
https://github.com/tankerkiller125/...5 -
Programming a Discord bot in Javascript and just ran it and said, "Hi, NoVegBot" in the chat. It said, "Hi, dad!" back! (Totally didn't program it to say that 😉) That moment when you put life and personality into something you code.12
-
Hey all! It's a me, Skayo, you might know me from the very early years of devRant, my highlight bot, my random quote bot, the devRant-Community on GitHub or any of the dumb rants and things that I've posted during my time.
Since I'm currently doing a cleanup of my old GitHub repos and this platform is still somewhat active, I have decided to pass on or publish all my projects and things I've created for this community back in the days.
Firstly, I have just published and transferred the source codes for the @highlight bot, the @RandomQuote bot, the @here bot, and some weird bot framework to the devRant-Community GitHub organization (https://github.com/devRant-Communit...).
Feel free to check them out if you've ever wondered what awful, awful code was running in the background all these years!
Secondly, I am offering any of the following to anyone who's interested:
- Ownership of the "devRant-Community" organization on GitHub (https://github.com/devRant-Communit...)
- Credentials for the @RandomQuote devRant user
- Credentials for the @highlight devRant user
- Credentials for the @here devRant user
- Credentials for the @devNews devRant user
- Ownership of the "devNews" Discord server
- Ownership of the "Community Programming Book" Discord server
- Anything else that I've forgotten about, maybe check the comments
If you're interested, message me on Discord "@skayodev" or anywhere else I am active under that alias (f.e. Telegram).
I might do a little background check to prevent abuse and I AM NOT SELLING THEM, just giving them away.
Thank you devRant for all the fun we had together and for introducing me to some of my current best friends :)
A thank you especially to @dfox and @trogus, who have created this amazing platform! (and sorry for all of the bullshit I did back then lol)
I wish you all the best <3
~ Skayorandom skayo random quote highlight bot here devrant-community devnews community programming book farewell skayodev11 -
I'm starting my first real/big project! I'm going to program a discord bot for my senior project with Python and I'm gonna have to do it in 25 days. the goal is to get it done in 15 and polish it more from there.4
-
I finally finished a project after weeks of not knowing what to do with my skills.
What that project is?
It's a discord bot that bans half of the members in a server. :/6 -
Me: I want to be a developer so I can make useful software that will help people!
Also me: *spends days making a bot for discord that just posts memes*7 -
I am part of a team running a rather big Discord bot. One day last year late in October some dude tried to tell us that he and his "team" had breached our infrastructure. I noticed he was full of shit and started trolling him back, and actually putting him under pressure to develop a solution for us, pretending to want to pay them for it. At the end, our bold hero ended up "losing their job" AND "their house burning down" to get out of it again, lol wat.
The whole resulting conversation is available as a set of screenshots: https://imgur.com/a/vczyX
Enjoy!4 -
Starting my new bot experience together with Discord.
Discord is kinda easier than LINE. You had to create facebook accounts or fake lots of telephone numbers to be able to verify your bot account. They also kept changing the endpoints to avoid people using their bots.
Discord is the opposite. Discord loves bots. And that's why I start feeling love towards Discord.8 -
I finally stopped being lazy and wrote 31 unit tests for my Discord bot.
Nothing is more satisfying than seeing them all pass and the GitHub workflow working without any problems. :)8 -
So a friend came up with this funny idea today to make a discord bot which translates input to a custom morse alphabet consisting of E's.
Instead of .- ..- ...---...
We got eE eeE eeeEEEeee
It's beautiful.5 -
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 -
Yesterday, when my Discord bot came into a Voice Channel and said "Hey Guys!". My friend really surprised. 😃😀7
-
So I wrote a code for a discord bot a few months back. It worked perfectly alright. Suddenly one day, the bot starts sending random shit to me!
Then I realised that my bot had been hacked because I didn't use the bot token as an environment variable while deploying!
Instead I added it to the code, which I uploaded on GitHub! 😐5 -
!rant
devRant, because of you I learned node, started my first collab, and now we launch tomorrow. It's been a fun ride, thanks!
It's just a discord bot, but I'm having a lot of fun! 🍻
https://github.com/softban/buzz
(feedback is always dope!)3 -
What my twitter looks like after Cloudflare decides to randomly close all my websocket connections from my free Discord bot, leaving it to die from arbitrary rate limits.
-
!rant
It's nice when a great new idea you have is fairly easy to implement and works well.
My latest idea involves running my discord bot, written in nodejs off of my phone using a terminal app (that doesn't require rooting my phone).
Once I got a branch of the project with no voice support, I wrote a bash script in vim on my phone (an odd experience, I assure you) and ran it.
Things have been working well, far better than trying to use PhoneGap to build something that would run it.
All in all, I'm pretty satisfied, and it was a fun and relatively painless project! (thankfully)10 -
Guy's Discord bot "crashes"
we asked him what error.
"no error" he replies
we ask for a screenshot.
bot immediately exists
We ask: have you added this and this (`client.login(token)`)?
He replies: "yes"
We ask for sauce-code, he provides
what do we see? he forgot to add `client.login(token)`10 -
I started learning Golang today and really like it.
The error handling is *excellent*. It always works the same way and is standardized, unlike the hell that NodeJS error handling is (.catch(), try).
Modules confused the fuck out of me. I eventually figured out how they worked, but Go really doesn't try to make it easy to have multiple source folders...
I'll probably be re-writing my Discord Bot in Golang soon. Being able to have just one binary output will make things infinitely easier. Compile-time variables are another feature that's nice and easy to implement.
The goal is only having to upload a single binary to deploy on production from my CI script that has all keys and stuff inside. Feels good to finally throw all that old bad JS code out and starting completely fresh.7 -
I have a discord server where I'm writing the bot. I'm making games, utilities and other activities.
It's a very small server because I have not been actively recruiting players, but if you would like to join, here is the link. I would be happy to make some devRant commands and integrations.
https://discord.gg/sEnwGdjB
Right now, we have Blackjack, connect 4, crossword, and trivia. There's also a "stock market" where you buy shares of other players (rather than stocks).
It's early. There's some stuff to do but I'll admit, not a ton just yet. Maybe a few bugs, testing team is considerably small. But it is good fun and I am actively working on it. Maybe join and play while you're "working" from home :)7 -
The more I write Go the more I get to like the language, but today I felt like I hit a huge wall. I found out that the structure I initially planned for my Discord bot wouldn't work for what I actually wanted to achieve, which made me feel like a completely useless developer. I develop SaaS solutions in the form of REST API's for a living, so making a bot is completely new to me, which is why I probably shouldn't feel so useless. Any advice for getting back on the horse again? I really want to see this hobby project finished. But starting over after almost 20 hours of work feels so demotivating 😕2
-
In 2013: *opens cmd* "look at me I'm a hacker, I can hack your Facebook"
Now in 2019 : *copying some python examples* "I'm a hacker now, I made a bot for hacking your discord server"1 -
More of a rave than a rant.
My Dad was having some trouble with a game disconnecting on the PS4 and he read somewhere that it might be a problem with our home router. I didn't think it would be, as every other game works fine. But there was no talking him out of it. And to be fair the current router WAS kind of old.
So I have a look at the one he's decided to buy and it's some massive triple-antenna beast for well over a hundred pounds. I felt like such a weapon might be overkill for 2 people in a house, but did say that it would definitely help with connection issues in some rooms and I kind of wanted to play with it.
So he got it and oh am I glad he did. It has so many fun toys, including a built in VPN. Right now I live abroad so there's a few services I used at home that I can't access, I was literally just considering buying a vpn the other day. I found this while setting up port-fortwarding for my Raspberry Pi to run a discord bot I'm building. I had condisered putting a VPN server on the Pi but this works too!
It also has built in DDNS from ASUS, which IS cool, but our IP hasn't changed in years so I'm not sure we'll need it. I set it up anyway just in case though!4 -
It took me way too long to realize why my local discord bot doesn't react to the new command.
I was chatting with the remote one... -
FredBoat, largest open source discord bot.
Making all the things work + making it scale when demand kept climbing was a challenge where we had to learn simple stuff like postgres, working with 3rd party apis, generally good coding patterns and maintainable code, but also rather advanced stuff like making the garbage collector play nice, profiling memory leaks and optimizing the hot path, as well as high level topics like cutting the codebase into scalable domains and services. -
Today i tried made some finishing touches on my discord bot. After dome struggling i finally managed to host it on heroku.
This is what happened after I put it on a real server and my dorm shut down internet access2 -
I created a Discord bot for devRant using devRant.NET API.
Check it out here:
https://github.com/nullopt/...3 -
I actually feel accomplished because I'm starting to turn one of my side projects into a real project, even if it isn't popular.
I have a discord bot (exclusive to one server, so more of a discord server) that I have been working on for a while with a couple minigames, like connect 4, crossword, blackjack, etc.
It started off very small, but now I see the project really exploding in size. I have a bona fide testing environment, website with domain and HTTPS with sitemap and everything submitted to google, unit tests, and the scope keeps expanding.
I am continuing to only add value, but have legitimate plans to try and make some income from it if things go smoothly.
Now I just need more than 10 users.2 -
SO MANY FUCKING API'S WITH EITHER NONE OR VERY OUTDATED FUCKING JS DOCUMENTATION. I have been working on a JS Discord bot and I want it to work with some API's to for example display the weather in a certain place... I can't find ANY FUCKING TUTORIALS THAT WORK. I feel like I'm just missing something important.4
-
How bad an idea is it to avoid having to write VoIP for my game by writing a discord bot instead that moves people between rooms that represent the literal rooms in game?10
-
So I've finally implemented face detection in my discord bot.
@Wisecrack regarding the openCV training, I'm still taking positive and negative samples, so it'll be another while.
Also, why is post @ing not a thing5 -
Introducing the cheat.sh discord bot!
Brought to you by @TheMiper and myself, this guy delivers the latest and greatest cheat sheets from @chubin's cheat.sh straight to your discord server.
We've been messing around with it for a while now, so we think it's time to share it with the world.
We're hosting the bot on heroku, so feel free to try it out, find bugs, give feedback, contribute etc.
We also need an avatar.
Invite link: https://discordapp.com/api/oauth2/...
repo: https://github.com/PaperBag42/...
Enjoy!6 -
Facebook API is the most cancerous API to ever exist!
Complicated as fuck for no reason.
Don't get me started on WhatsApp API.
In the end I managed to make it work with my bot, but dude did that take a lot of time.
Using Twitter API and Discord API on the other hand was way easier.12 -
So, I've decided I'm going to completely redo my Discord Bot. I will probably still use Node.js to program it, but I haven't 100% decided yet. If I do use Node.js, I will probably end up using a different Discord API wrapper for it. I also don't know what I'm going to call the bot. NoVegBot 2.0 sounds too boring, but idk.2
-
Working on a library for a discord bot I'm gonna make.. the library is about 80% done and I can already build a working bot with it. But now all those new questions appear in my head about things I am going to make like "how do I design permissions" and similar stuff.... AM I OVERTHINKING THIS TOO MUCH?!4
-
I did not think that making a serverless Discord bot would be such a learning experience. The code itself was easy. The hard part was the infrastructure, because I decided to automate it all with Terraform and deploy it on AWS.
Before this project, I had no idea how API Gateways worked. Now I still have very little idea how they work but I managed to build one anyway. Eventually. And then I had to figure out how to automate the deployment of a lambda layer and function that would both still be managed in the Terraform state, with any code changes triggering a rebuild and update for the resource.
And then I had to untangle a dependency mess because API Gateways have some weird issues where two resources that have no explicit dependencies on each other will throw an error if they don't deploy in the right order.
And then I went the wrong way with Github actions trying to conditionally chain multiple workflows together before I realized I could just put multiple jobs with conditions in a single workflow.
And now after all that work over the course of 2 days, I have a bot that does this:2 -
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
-
I've spent 6 hours on a discord bot using a language I have no experience in and I have got it to a good foundation. Gotta say im pretty impressed at my ability to google..1
-
time to go for full snack development
https://youtu.be/h8fh9R4401g
https://youtu.be/y4w5E8W2f0M
started some open source project for discord bot that provides info for some free game users, through scrapping forum and requesting apis
This is kind of going to be a major refactorized second version, that considers all mistakes of a first version. And going to be much more scalable and easy to maintain.6 -
Wow, I'm so glad that my Discord bot I played around with last year fits within AWS's free tier, because I totally forgot it existed. I only used it to test some things and then never touched it again.
Just rediscovered its existence when I was thinking about building a new bot, lol. -
Im in a discord guild, theres this bot you can play blackjack and roulette with. Also, you can "work" every 3 mins to get virtual money...
Im so caught up betting that im gonna write a script to automatically work for me every 3-4 mins .. :i10 -
!rant
Ever find something that's just faster than something else, but when you try to break it down and analyze it, you can't find out why?
PyPy.
I decided I'd test it with a typical discord bot-style workload (decoding a JSON theoretically from an API, checking if it contains stuff, format and then returning it). It was... 1.73x the speed of python.
(Though, granted, this code is more network dependent than anything else.)
Mean +- std dev: [kitsu-python] 62.4 us +- 2.7 us -> [kitsu-pypy] 36.1 us +- 9.2 us: 1.73x faster (-42%)
Me: Whoa, how?!
So, I proceed to write microbenches for every step. Except the JSON decoding, (1.7x faster was at least twice as slow (in one case, one hundred times slower) when tested individually.
The combination of them was faster. Huh.
By this point, I was all "sign me up!", but... asyncpg (the only sane PostgreSQL driver for python IMO, using prepared statements by default and such) has some of it's functionality written in C, for performance reasons. Not Cython, actual C that links to CPython. That means no PyPy support.
Okay then.1 -
I start by diving straight into the code. A blank brand new file in whatever language I have chosen to create my project in. If it's a language I'm unfamiliar with, I'll start with some templates of getting started (for example, I wanted to make a node.js application with a connected website, so I found some code using express to link the two together).
Once I've started, I'll eventually create a text file for ideas which I may or may not plan to implement later. If a particular feature is rather complex, I'll draw it out on my whiteboard, giving me a visual guide to help me.
My main aim is to simply get a "foot in the door"; once that's achieved, it makes working on the project much more enjoyable. I tend to turn it into a bit of "play" by coming up with suggestions which I would probably not implement in my final design, but add just for the fun of it. If I chose to drop those ideas, I'll save the code - chances are, I would have learnt something new in the process (For example, I learnt how to perform GET requests and figured out what cURL was for the first time by simply adding a "dad joke generator" to a discord bot, just for a laugh) -
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 :^) -
Discord apparently has a new vuln allowing bot accounts to become normal accounts without regenerating the token. Explains all the thotbots and shit appearing.4
-
Every time I successfully create / do something new. For example when my Discord bot came into a voice channel and said hello to everyone. That was awesome.
-
I've decided to do something very ambitious for my new Discord Bot. I'm going to try to embed Google Assistant into it. 🙃3
-
I almost forgot to disable Java class accessing from Nashorn which would have made this possible in my Discord bot:
-
So our software clubs discord bot went rogue and deleted a metric ass ton of messages
This is what I get for testing in production. Fml1 -
Me: Creates Basic Discord Bot with a tool, and mess with it, made it be a BETTER bot.
Bot: Yes Master.
Me: Time to re-home it on a new host(glitch)
Bot: Ya you edited me so much I have no f**ks ..
Me: sudo rm -rf ME13 -
When I got my first few programs running - things like "Hello World" and simple console applications.
More recently (it still happens, which is a good thing) being thrilled when I got my discord bot running, and then again when I got music playing via YouTube streaming working.
That feeling is the kinda stuff that keeps me programming. -
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 -
Mine was when I finally moved from coding in statements to seeing just a little more of the picture by exposing myself to modules/classes. I still can't separate my one long index.js file into separate files (Discord bot, splitting my commands code into their own files) but I felt that progress. A pace of progress that I'm sure a glacier understands. I'm just hoping for some nudges from you Titanic's out there. ;)
-
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 -
FFS Kotlin, did you completely forget to mention how to create an object in js or did you seriously not think about the usage of the `new` operator when writing that compiler.
I just wanted to use that glorious when statement for my discord bot. Not to mention that retarded tutorial with incredible gaps and cyclic references and now this. -
Me and a friend are making a discord bot, and added a warning command to warn users.
All was going well, and when we tested the deleting a warning it seemed fine. I then tried to delete all the warnings one by one, when we came across a problem. It wont delete the last warning in the array, the 1st, 2nd, 3rd etc? Thats fine, just the last index that isnt working.
Our code is like this:
list = data.warns//a list of JSON format warnings
console.log(list)//shows the value is in the list
console.log(list[index])//shows the value
delete list[index]
console.log(list)//shows its gone
data.warns = list;
console.log(data.warns)//shows the value is still no longer present
data.save().catch(blah blah)//no error is caught, and nothing crashes, it proceeds to send a message to the channel after this
but then the value at index is still there in the database as if it didn't save it, but only if the index is the last item in the array.
We have been stuck on this for over an hour and I now remember why I hate programming.2 -
I have a long question for developers out there... bear with me.
I'm currently learning and devoting all my time towarda Java and have been for the past two years although it's moving slow because of summer courses. The catch to this is, I'm not sure what I'm learning it for. How do I implement this code, I'm not sure what to do with it. The only project I plan on doing is a discord server management bot... besides that, I'm blank... Is java used in web development? What exactly should I be using it for..?
I'm planning on learning javascript, php, mySQL, and CSS I pretty much have down but I don't know what to use them for. Besides how I want to script for the game Hackmud which is in javascript.
I'll put it into simpler terms... I love java and I'm looking forward to mastering it but I don't know what to use it for. I want to use it on my free time and all but use it for what? One more thing: what other languages go hand in hand with java? Sorry if it's confusing lol.3 -
TL;DR When talking about caching, is it even worth considering try and br as memory efficient as possible?
Context:
I recently chatted with a developer who wanted to improve a frameworks memory usage. It's a framework creating discord bots, providing hooks to events such as message creation. He compared it too 2 other frameworks, where is ranked last with 240mb memory usage for a bot with around 10.5k users iirc. The best framework memory wise used around 120mb, all running on the same amount of users.
So he set out to reduce the memory consumption of that framework. He alone reduced the memory usage by quite some bit. Then he wanted to try out ttl for the cache or rather cache with expirations times, adding no overhead, besides checking every interval of there are so few records that should be deleted. (Somebody in the chat called that sort of cache a meme. Would be happy , if you coukd also explain why that is so😅).
Afterwards the memory usage droped down to 100mb after a Around 3-5 minutes.
The maintainer of the package won't merge his changes, because sone of them really introduce some stuff that might be troublesome later on, such as modifying the default argument for processes, something along these lines. Haven't looked at these changes.
So I'm asking myself whether it's worth saving that much memory. Because at the end of the day, it's cache. Imo cache can be as big as it wants to be, but should stay within borders and of course return memory of needed. Otherwise there should be no problem.
But maybe I just need other people point of view to consider. The other devs reasoning was simple because "it shouldn't consume that much memory", which doesn't really help, so I'm seeking you guys out😁 -
someone gets in my Discord server, asks "can anyone download a file for me? DM me" in the bot trap, and leaves.
Is it worth the effort of trying to track this guy down so I can get new malware or is it not worth the risk of CP?4 -
Follow-up of https://devrant.com/rants/2014517/...
It took me two days to finally get my discord bot to a specific voice channel in my guild/server. It turns out that there are two gateways and one https gateway. The https gateway, the main gateway with a websocket connection and a voice gateway (with udp I guess).
Guess that I will be able to let my bot speak at the end of this week.
The documentation of the Discord API is not so good. It contains examples that won't work even if correctly modified. That is why I joined the Discord API guild/server yesterday and they helped me find the solution to the "I get no response from the voice gateway".
It is only getting more complicated, but I love it. Maybe I love hurting myself lol.4 -
One of the features I programmed for my Discord Bot was a Gfycat gif poster, not knowing Discord had such a feature built into the app itself. I would say my feature was more useless than unnecessary.
-
Me and my friend were doing a discord bot using an extensions that allow us to collaborate.
We were making the bot with Node JS and. Something so horrible happened.
While making a purge function wich should remove the last messages of the discord we met a problem. When you do !purge 1
It were removing 11 messages.
The problem were that in my code i were adding 1 (int) to a string (my amount of message to remove) so it result 11 as string....
This is JAVASCRIPT
I don't know if this were a bug but being able to add 1 (int) to 1 (string) it's fucking dumb. It should result an error not making it as string!1 -
So, I have a friend and he asked me to do a discord bot for him. (The language was kinda up to me and I chose Python). Nothing complicated (theoretically). I coded it, tested it and sent it to him. But after installing it, he got a different issue EVERY single day. And he didn't change anything! The most infuriating part is, that I couldn't even reproduce the issues he had. WHY? Why can't it just work? Why can't a simple project not just be simple?3
-
!rant
Right now i'm working as a volunteer developer for a discord server. I've recently been learning JDA (a Discord API java wrapper) and I wanted to get some experience in a more real world environment by working on a Discord Bot. What a mistake
The owner of the server has written some pretty messy, but solid code, and I was asked to build as sort of “punishment system” (warns, kicks, mutes, bans, all of which timed). It started off fine, me doing some work, getting some critic, all good. Soon, it started to get worse. At every point of the way, while i’m working I have him trying to make me add new features, and change massive existing ones even after i’ve done them and moved on with his permission! I keep telling him, “it’s a work in progress, please wait”, but it never stops.
I’m planning to resign, but I have to continue to dodge him and his “suggestions” as I simply want to finish my work, and get out. The reason I need to avoid his as, I feel that if I was to alert him I was to leave in advance, things would only get worse in the time while I stayed.
:/5 -
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/... -
I don't understand how Facebook can restrict my account when I'm following *their official guide* to make a WhatsApp bot (which entails creating a business manager account and all that tralala) which basically makes it impossible to continue through the guide to get the WhatsApp bot to do what I want it to do (I only got as far as having it send a demo text and set up some of the account BS).
Needless to say, I went for the Discord bot approach and got it to do what I needed.3 -
It's always some dumb thing that goes wrong. Like, a semicolon I forgot to type, or a period or a misspelled variable. Last week I spent two hours on a Discord Bot coded in Python that refused to iterate a list of names. I had forgotten to put quotation marks around each of the items in the list so they would register as strings instead of integers. Will it ever get better?6
-
I have a new idea for my discord bot. I want to make a very simple kind of conversation engine: basic replies to the user based on what they said. Sounds like a fun project.1
-
a discord bot i wrote for the game supraball probably takes the cake.
lots of functionality developed over years, unpaid and even a bad attitude by the other devs...
did it for the community tho...