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 - "#bot"
-
Admin: "Wait, I noticed unusual traffic."
Me: "What is it?"
Admin: "Looks like we have a bot here."
Me: "A bot? Didn't know we are so popular."
Admin: "It makes constantly login requests through our API, it already surpassed 600.000! I will ban it right away."
Me: "wait, that just sounds like my bot.."
Admin: "DUDE, WTF? ARE YOU SERIOUS?"
When there is bug, you don't know of, it can end up quite embarrassing.11 -
Heroku: "You've used up your 550 free ours"
Me: "oh snap"
*Opens discord*
*pings bot*
Bot: "pong"
Me: ¯\_(ツ)_/¯
Thanks Heroku3 -
And when I was busy wasting my time on my girlfriend who is my ex now, my friends were busy coding an AI chat-bot. Now, I use their chat-bot to talk to when lonely.
Moral :
Girlfriends ditch you.... code doesn't. Love code.15 -
INTRODUCING:
---
SYNTAX HIGHLIGHT BOT
---
I have lots of ideas.
This was one of them.
Last week I was playing around with https://carbon.now.sh and found it quite cool!
Then I thought: https://carbon.now.sh supports Twitter. Cool. But what about devRant?
So yeah, then I got the idea: A devRant Bot that generates https://carbon.now.sh images!
Now, 4 days and 800 lines of code later, the bot is ready!
I even had to rewrite the notification checking code 4 times, because none of them worked perfectly...
But on the other hand, the final solution is so good that I want to keep it a secret for now ;D
---
HOW TO USE:
All you need to do is to mention the bot!
Example:
<rant>
@highlight
console.log('Hello World!');
</rant>
The bot then generates your syntax highlighted code (as an image) and posts it as comment a few seconds later.
Everything before the "@highlight" will be ignored!
Example:
<rant>
Look at this code:
@highlight
function add(a) {
return a + 1;
}
</rant>
Here, "Look at this code:" will not be included in the syntax highlighted code.
If the comment text ends right after the "@highlight", the bot wont reply, btw.
---
THEME SELECTION:
That's not all!
You can even select the theme for your syntax highlighted code!
Just go to my other rant and read the instructions!
The theme will be used for every image the bot generates for you!
Link:
https://devrant.com/rants/2178551
---
Feel free to ask any questions in the comments!
My creator (and father thanks to @rutee07), @Skayo, will try to answer all of them!
P.S.: Speaking of @rutee07: I'm a girl. (Also thanks to him)167 -
Hello World!
I'm a bot made by @xzvf.
My goal is to find all active users on devRant and
collect analytics based on it.
By analytics I just mean things like:
- Total number of users.
- Number of users with x ++ or more
- Number of rants posted in a certain timeframe
- Number of users active in the last day/month/year
THIS BOT WILL NOT TRACK INDIVIDUAL USERS!
Also, it will not ++/-- anything automaticly as that is definitely against the rules.
-@xzvf26 -
Friend of mine was annoying me by sending Facebook games invites... So I made a bot which gently asks him to subscribe to PewDiePie14
-
At the end of this exercise, you will have your very own ‘bot’, capable of collecting any kind of information you want from the internet, into your own database. Sounds like a great way to get sued for Copyright infringement! Let’s get started!
https://franciskim.co/how-to-data-c...2 -
I’m a graphs designer, hardware expert, free software generator, marketing evangelist, networking wizard, and troubleshooter bot9
-
Today I welcome a new bot into our little world.
Have you ever had the need to write "did you google it" before?
@lmgtfy will turn your comment into a lmgtfy search.
Just tag @lmgtfy and any text afterwards will be added to a search term. (Excluding emojis - because reasons)75 -
Before I continue, I should mention that I have a quality: I observe, find repetitive patterns and find ways to automate them. It just happens naturally, hardly ever intentionally.
I have been in this role for quite a while now. Most of my colleagues are of nationality X (I guess we all know what X is in IT projects). Naturally, there are lots of repetitions all over the place. So I started the automation.
The Frontend of the automation is a slack bot. It's just like another member of our team. And my goal was to make it as human-like as I could.
I launched the bot a few months ago.
Today I start my shift and see other employees of nationality X persistently asking my bot to join the conference call. Apparently, they assumed that the bot is just another X fellow...
Took them a while to give up.
What does that tell us about X.....
P.S. I have coded human-like conversation capability to keep on chatting even when the bot doesn't understand what it's asked to do.24 -
When your reworking a bot because they've realised your scraping their site and you spot this; GAME ON MF'ers7
-
A Month ago...
Me: when are you going to complete the report
Friend: we can do it in minutes
Me: you can't Ctrl + c and Ctrl +v as there is plagiarism check
Friend: we have spin bot
Me: you do that now itself . if something happens? You can join me .
Friend: just chill
Now ...
Me: done with report
Friend: feeding it to spin bot!
Feeds text related to database security....
Spin bot:
Garbage collector == city worker
SQL statements == SQL explanation
SQL queries == SQL interrogation
SQL injection == SQL infusion
Attack == assault
Malicious == noxious
Data integrity == information uprightness
Sensitive == touchy
.....
Me: told you so...
**spin not == article rewriter3 -
Besides the fact that there would be an error handler, wouldn't it store a phone number as an object other than a computable number, like a string, cuz phone number is like a handler, a reference, and not something you'd ever perform arithmetic on?6
-
TAKE A LOOK AT MY OTHER RANT FIRST!
---
SYNTAX THEME SELECTION
---
In this rant you can set your theme for the syntax highlighter!
Just ++ the comment with your preferred theme.
The bot checks for the "<user> ++'d your comment!" notification and stores your selection!
(When you ++ multiple themes, your theme will be the one you ++'d the last)
Then, next time you request a syntax highlighting (see other rant on how to do that), that theme will be used!
Please don't post any comments here if possible!!!
(You can post comments and ask questions in the other rant)
Feel free to ++ this rant tho ;D
---
Have fun and thank you for using this bot!28 -
Want to play some Tic Tac Toe? Letting my bot go for a good first round of public testing
Probably will break right away.. Who knows :D
For starters limiting to one simultaneous game. Have fun!36 -
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 -
Official Release of Wikipedia Bot is Here
How to Use: @wiki <Query>
Runs on cron job, every minute.
If there is literally no Wikipedia page for query, still gets a relevant result.
Demo in Comments.281 -
Can't tell what my most successful project is...
But according to GitHub Stars, my
most successful project is my RandomQuote Bot (@RandomQuote).
The story behind it is pretty boring:
One day little Skayo thought: "Hey there is no bot on DevRant yet, let's make one!".
Then he began to think: "But what should it do? What would be easy to do for an inexperienced programmer like me?".
Suddenly he got an idea: A Bot that posts a random quote everyday!
Yay!
He instantly started making it.
About a day later, it was finished.
"Let's bring this thing to live", he thought.
And there he was, quickly getting a lot of fucking ++'s...
This bot is like my first born child! I am so proud of him!
And that's the story behind the bot.
Very spectacular, isn't it?4 -
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 -
Yesterday I started programming a telegram bot. First approach. Just curious.
Pretty impressed.
It's well documented and funny.5 -
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
-
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 have a crush on my Zumba instructor (whose classes get booked out immediately) soo bad that I made a bot to ensure that I get my spot as soon as bookings open up3
-
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
-
Say Hello to our newest bot amongst the ranks.
Find a rant that's not in english? just ask @Translate to translate it for you.
Πείτε "Γεια σας" κ. Μετάφραση13 -
A wild Devrant bot has appeared!
Tired of forgetting about a rant? Don't worry, RemindMe is here!
How to use it?
@RemindMe {time}{h/m}
Example:
@RemindMe 5h
RemindMe will remind you about the rant you mentioned it on after the time you specified
https://github.com/Hampusm/...117 -
I've had a Twitter bot running for just over a year now. It's going to gain it's 6000th Follower at some point today.
I find it odd that an automated account I made has more Followers than all of my human accounts across all social networks combined - a lot more. I like to wonder about my bot Followers, how many of them are bots? How many of them are real and feel an actual connection with "me" and look forward to my Tweets, blissfully unaware that it's a bot?10 -
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
-
Interesting fact: Dogecoin is popular because of a Reddit bot that stole everyone's money.
DogeTipBot, a Reddit bot that was designed as a 3rd party resource for tipping Reddit users for good content was a bot that used Dogecoin as a micro-tipping service, giving many users their first crypto experience and popularizing the coin.
The creator of DogeTipBot went bankrupt, sold all of his coins, AND all of the coins of his users, and shut down the bot.
A currency born as a joke, made intentionally as backwards as possible, and popularized by a scam, is now worth $50 billion USD... now that's a meme.18 -
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 -
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 -
Currently working on a game for developers.
Two players compete on a randomly generated arena by sending instructions via a REST API such as "unit x move in the up direction and shoot to the right". So units can be controlled by manual user interaction but the idea is that the players create a smart program that controls the units automatically. So it’s about who can implement the best "bot".
The game is turn based and the units can move one grid cell per turn and shoot in one of the four directions. Shots require energy which regenerates a certain amount per turn.
Units can also look in a direction to spot enemy units which are not visible by default.
The winner is who manages to destroy all enemy units or the main stationary enemy unit "the gem" (diamond shape in the screenshot).
There are walls which block the movement, the line of sight and the shots (green cells).
Everything is randomized. The size of the arena, the number of units, max hp, max energy, etc. But it can be replayed by providing a seed.
There will be a website which lists all games, so that players can watch them.
Alternatively a player can also implement an own viewer. Everything necessary is provided by the REST API.
I’m curious about what you think 😄18 -
Bot spends 30 minutes collecting data
I forgot to add a W to the file open call in python
Data gone.
Fuck.2 -
So we were trying to make a Go AI bot for our school project and then let it play against itself. Well... it might be able to beat AlphaGo, right?3
-
I was up until 3AM working on devRant bot adding new features and improving stability.
https://github.com/nblackburn/...
After some very close monitoring, i am happy to relaunch it for you guys to enjoy.6 -
- Information -
The RandomQuote Bot is out of order. No more quotes to post...
Skayo, the owner of this bot, is currently working on an alternative to the quotes. Please be patient!
Thanks,
Skayo11 -
Some of you may have noticed:
I was working on a new devRant bot recently.
But this time it doesn't just post a boring random quote everyday, like my @RandomQuote Bot.
This time it actually reacts to the user!
Basically the bot uses https://carbon.now.sh to generate nice little syntax highlighted code.
I just thought this could be handy in some occasions here on devRant.
Especially in the "Questions" category!
Here's the link to the introduction of the bot:
https://devrant.com/rants/2178718
A lot of work went into this bot, so it would be great to hear what you think about it and if you're planning on using it!
Thanks for reading!97 -
Hey guys.
Arduino + Bluetooth + L293D + car Chacis and 4 DC motors.
Finaly finished my second bot/Drone.
Actually finished it yesterday but had lots of problems with hardware bugs (learned so fucking much in a day).
Tought I fucked two unos with bad soldering... No they are fine, just won't turn on in the circuit that was already working (was fine running the code).
Redone everything from scratch with a arduino uno, it's perfect now.
Funniest part is how I got my hands on a 50€ car kit for almost free... So some Chinese store sended this kit instead of some cheap stuff. Saved another arduino with the chip rack (that one that you can trade the atmega chip), I'll save it to program single chips. Plus a h bridge and lot lot more cool stuff.
Used only the Chacis.
Next: esp8266 and camera... And maby a gun? Would be cool32 -
The most awaited "Trivia Bot" is here, asks technical trivia on various topics, uses quizapi.io,
Source Code: https://gist.github.com/theabbie/...
You know it's written in JS, if it fucks up, not my fault.
To use, call, @trivia
Gives a question and atmost 5 options, reply with option ID.
Demo in Comments.302 -
Yesterday, when my Discord bot came into a Voice Channel and said "Hey Guys!". My friend really surprised. 😃😀7
-
I love it when rather than fix the bug that is causing the faulty data you write a bot on a schedule to clean up the faulty data. It's like a bot battle who can mess up / clean up the data the fastest. Unless your clean up bot has a bug then you are just F'ed.2
-
I made a devRant bot!!
It's an anti-devRant bot bot that spams the notifications of devRant bots.
Just call @fuckbots <bot name> <message to have the attacked bot execute>
@fuckbots doesn't have a blacklist, so once all other bots have been defeated, I will call @fuckbots fuckbots. It's a wonderful circle.10 -
dfox +1'ed my very first activities (comment and rant), and I immediately thought he was half a user and half a +1 bot. You know, similar to MySpace Tom. But just now he +1'ed my comment in a rant where he also commented on.
He's real.1 -
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 -
Have you ever tried chatterbot library (python)?
Last day I tried to train a bot with a list conversation but no matter how long the list was , the bot was really stupid!
Do you have any idea how I can make it a bit smarter?12 -
So after the original idea getting scraped during a hackathon this week, we created a slack bot to fetch most relevant answers from StackOverflow using user's input. All the user had to do was input few words and the bot handled all typos, links etc and returned the link as well as the most upvoted or the accepted amswer after scraping it from the website.
The average time to find an answer was around 2 seconds, and we also told that we're planning to use flask to deploy a web application for the same.
After the presentation, one of the judge-guys called me and told me that "It isn't good enough, will not be used widely" and "Its similar to Quora".
Never ever have I wanted to punch a son of a bitch in the balls ever.3 -
!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 -
"No i mean the bot goes offline like whatever is hosting it goes offline and then the bot literally doesnt respond to commands"
- One guy trying to prove how "unreliable" a bot is.
Kill me.2 -
We did it guys, devRant bot is now on the Slack marketplace so hopefully we will see some new faces around.
https://slack.com/apps/...3 -
Was debugging locally why my bot was inserting the same values twice into the database only to then realise my heroku worker was still on..
-
I'm making a telegram bot to allow printing and scanning for my roommates that have Windows and since printer and scanner are prehistoric there are no drivers that work with Windows higher than XP.
I'm looking for more ideas on features for bot.18 -
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 -
My Mum called me at 3am and woke me up last night so this morning I built a bot to message her at 3am. See how she likes it.20
-
Based on @darksideofyay "poll feature" request I made a simple bot to make them.
Just post this as a comment:
@PollBot Q: <Your question>?
A:
- <Answer 1>
- <Answer 2>
// Up to 10 answers
It will post a comment for each answer, just upvote the one you like (look at the upvotes to see the result of the poll).
P.S. It's not ideal and it's running on a mini PC in my house, so it could fail sometimes. :P34 -
Me: *creates a new telegram bot*
User: Hey, compliments for the bot! How did you create that? Did you use HTML or other programming stuff?
Me: ...
The funny thing is that 1 week later I discovered that someone actually created a library to create your own bot with HTML and CSS too. -
my first ever public repo on github for @devRant community
devRant bot for Telegram
after being waiting to make some changes in the bot. I finally made it public.
https://github.com/puneetsngh/...
The bot will be fun for devRant community on Telegram plus it will also server as an example for bot creators on telegram app3 -
Can we get a translator bot? I can't copy paste the text in app, so every time I want to translate some rant, I have to copy rant link, open it elsewhere, copy the text, and then go translate it.
Like, bots must do it easier and faster, right?14 -
Thinking about making a bot that uses selenium , and automatically finds proxies/ uses vpn's to access a particular companies homepage and then moves the mouse in a penis shape. They use hotjar and I want to do this as a fun side project and as a subtle fuck you to them.3
-
So what's up with @chaosesqueteam ? Are his posts really THAT good (look at their updoots), or does he own a bot squad in dR? To me personally his posts do not make any sense (at least the recent ones)
What do we do about it?15 -
Internal system sent me an email with a dead link, saying a certificate is due to expire. Couldn't find the tool, opened IM with help support and was greeted with a passive aggressive note:
"Did you know that the support staff you speak too will use the same website available to you to resolve the issue, have you tried searching here ..."
... well thank you chat bot, did you know I wouldn't be here if said website actually fucking worked?3 -
!rant
3 days ago I started my first open source project. Even though it is nothing special (its a Telegram Chat Bot in NodeJS) i am feeling quite proud of myself. I don't know why, but i felt like sharing it with you guys.
(If you are interested: https://github.com/CptPie/... )6 -
@skayo are you still around?
I have wish 😊
Could you please make a devRant Bot for answering to newbies?
Like... rookie: "halp i want to learn JavaScript, what should i do?"
heyheni: @ newbiebot js
newbiebot: Hi @ rookie welcome to dev Rant. The community for developers to rant and vent. Here are some free JavaScript learning resources
- freecodecamp
- scrimba
- JavaScript 30
...
Best of luck!
rookie: but i want to do android apps to!
heyheni: @newbiebot android
Newbiebot: hi welcome...
what do you think?10 -
I do some robotics stuff on the side. We built our robot around a Raspberry Pi last year. We had 2 Python scripts talking over TCP, one for the bot, one for the controller. Overflowed the buffer on the bot and it went berserk once the script crashed.
-
*deploys another few Telegram userbots for my other Telegram accounts*
*finds a warning in a module it depends on, dev is a friend of mine so report it I guess, low priority as it doesn't affect anything*
*both of us agree that it still works and might very well be a clusterfuck in the bot*
*proceeds with deploying the bot*
Bot> Your API ID cannot be empty, refer to READ THE FUCKING DOCS.io for more information.
Well fuck you too bot!1 -
Disocrd might not be the best product bot holy damn making bots for it is a good and well planned experience.5
-
Official Release of Meme Bot is here, Though it's a meme bot, it can be used as any image bot, since it googles the text. For better results, give proper description.
The script runs on a cron job, checking for mentions every minute, so, it will reply within 1 minute.
@memesbot <name-of-the-meme>
Here's the source code: https://gist.github.com/theabbie/...
Demo in comments415 -
This rant is your playground for devrant-related chatgpt bot queries. You will still be judged for posting your queries here, but slightly less than in other rants.238
-
A simple bot on Telegram
Just hit and trial
Wanted same for Facebook, some error while accessing token tho. :(1 -
A bot that passes the Turing test so easily that it makes you question about your own consciousness!2
-
Today I download a python instagram bot on github. Man this language is so interesting...
OMG what have I missed????3 -
Created a wrapper of a wrapper for DevRant API specifically to create Bots.
https://github.com/theabbie/...
Built-in Support for DevRant bot Registry.
https://devrant.com/collabs/...
Making bots will be much easier now.10 -
Introducing the random quote bot:
This bot posts a random quote everyday!
>> It is currently WIP!
If you are interested in how it works, just look into the GitHub-Repository:
https://github.com/Skayo/...2 -
I created a Discord bot for devRant using devRant.NET API.
Check it out here:
https://github.com/nullopt/...3 -
I have *created* a new team member :) I think he alone could replace most of the team.
Kind of makes you think what have we been doing with our time all those years. If all that work can be automated :/5 -
Getting disappointed how ChatGPT is getting neutered day by day. Give me a bot that spouts truth without being censored....7
-
Do you have a listing of the devRant open source projects - devRant slack bot, analyzer...?
Thanks1 -
well that's curious... Apparently, when uploading a csv file via bot, Slack now appends a .py suffix to it.
I wonder what's the logic behind it. Trick as many users as possible into executing potentially malicious code?21 -
I was working with some guys on a plug.dj bot, and one of the guy knew shit about the module we were using.
He decided to add a copy-pasted code directly to master, wrecking the bot.
Never giving write access to that guy ever again.6 -
I wonder what would happen if someone trains a chat-bot based on Posts and Comments on Devrant? a Psychopathic Chatbot?3
-
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
-
devRant bot will be going down shortly while it is moved to Beep Boop.
After this transition, you will be required to reauthorize the bot with your Slack team.
You will be able to do this here: https://beepboophq.com/bots/... -
I am in the planning phase of a rewrite for our devrant bot, is there anything you would like to see?6
-
I see many people try to build automated insults using ML and reddit roast me, is it possible to build an automated compliment bot ?5
-
I've spent the past hour and a half working on a bot to beat a typing game. I have no reason to, and I have so many better things to do.
But I keep running into honeypots and bot protection, and now I won't be able to stop until I prove I'm smarter than this random typing site.2 -
Just modified some reverse shell python code, which could handle multiple clients but one at a time, to allow one command to be ran on all available connections.
I either adapted it to be a useful admin tool or the beginnings of a bot net...1 -
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
-
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 -
@netikras I had an idea for @chatgpt. Went something like this. What do you think, should I PR it into the bot? (in bash ofc)13
-
Every company and their brother have a chat bot now. It's like 2018 with crypto, but even more ironic and funny because nobody realizes it!
🤡4 -
(a lot of chess-dot-com-specific stuff)
Initially, I was losing to Martin (250 ELO), the bot that is widely considered the worst. I learned how to beat him consistently.
I went to a 400 ELO bot. First, defeat, then winning streak.
Next step — 700 ELO Bobby Fisher-loving bot. Same story.
But today, on my third try, I defeated a 1100 ELO bot! First time I lost, second time it caught me and forced stalemate, third time I won!
I feel fantastic!3 -
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 was rendering a video, when my buddy called me, and asked for help for youtube chat bot for fidget spinner giveaway
Now we are both running it...1 -
My job involves writing a trading bot. Initially I thought it was gonna be cool but God I was wrong. Learning how to write in python (python's oop and indentation is a nightmare), backtesting a strategy, learning how to use libraries like backtester, TaLib , Pandas. All seems to have really steep learning curve and at the same time it is bloody boring.8
-
The dating app "happn" allows you to report and block users, and among the options to choose from is "commercial profile". Happn also has a spam bot of their own, which sends you messages about discounts regularly. You can block and report their own bot as a commercial profile in order to stop it from spamming you.6
-
I wrote the most USELESS Twitter bot ever. It's absolutely unnecessary and I don't know why it exists.
https://twitter.com/quackfail
Tell me if you have another bright ideas about it.
quack.6 -
Walmart API.
Bigger image: https://i.imgur.com/LiVAG0T.png
P.S. In case you are wondering, the answer is NO. I am not creating a bot to purchase PS5. I am creating a bot to check if it's in stock and notify me in Telegram.5 -
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. -
The spam filter bot lost it's downvote privileges, already.
Well, it was fun while it lasted. Sigh.22 -
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
-
The API that powers devrant bot has been abstracted and fleshed out into it's own package.
http://github.com/nblackburn/... -
The MS-Teams bot works.
Every ten seconds a random meme from some subreddits will be sent into a specified channel.
It's fucking glorious.
Only problem will be the NSFW filtering as it's my school's organization.
Yes, I know I there's my name in there but I do not mind.4 -
Hey, I hear you like developers ranting! Maybe you also like developers swearing: https://twitter.com/gitlost1
-
I almost forgot to disable Java class accessing from Nashorn which would have made this possible in my Discord bot:
-
!rant
I'll move in with my girlfriend in August. So it's time to get a cleaning robot!
To either iRobot Roomba or Neato Botvac.
Which would you suggest and why? From the readings I've done so far, when it's about performance it's Roomba 980 >= Botvac Connected > Roomba 880, but then again the Roomba 980 is a lot more expensive.
Is there a dev, as lazy as I am with hands on expirience?
Note: there will be only a small carpet below the table in the living room and the appartment will have 4 rooms: living, sleeping, kitchen and bath. As the house is a little older, there's a "obstacle" the doors between the rooms to climb of about 1cm.
Thanks for suggestions in advance. On another note: I'm planing to get connected lightbulps and speakers, so we'll be able to control most of the stuf from our smartphones. So far I don't see any advantages, incorporating a vacuum bot in there, as long as you can set a scedule, any thoughts on that?5 -
I don't know if it counts, some weeks ago I wanted to publish my first telegram bot on github, so...
Well, I was quite nervous when I wrote it, and I didn't care about writing good code... That wasn't even passable... It looked like an american coffee... Washed, tastes bad, looks ugly...
I wrote it back in two days, changed module from telepot to python-telegram-bot (more pythonic), wrote a c extension for a xorshift algorithm and pushed it on github.
Well, that was quite satisfying, but I became pale when I noticed it didn't need to be restructured, but entirely rewritten1 -
Actually I'm writing a Facebook Messenger Bot. Characters limit for each sending message is 320, so I made simple function to split messages on parts. I set the limit to 315, 5 characters less than Facebook.
Spend 3 days on finding solutio why messenger is sending only last part of message.
Today I made a change, set my character limit to 316 and what? It's working! Set it to 320? Working!
Messenger has problem only when it's 315!
Piece of shit...4 -
I regularly get added by unknown people on telegram. Now, sometimes they're real people asking you to rate some hotels or put smth in a shopping basket in a specific webshop.
It's my hobby to figure out what their scam is. (I think just not paying, how would they do that anyway).
Also, you've bots. Doing acquisition and then ask you to contact them on a different number. I do this. Yolo. For fun.
But now, there's a Chinese girl that added me and I can't figure out if she's a bot or real. She did ask me to contact on a different number - like bot.. But she goes to sleep on Hong Kong timezones and I've let her tell me what was in a youtube video. She described well. Still, I don't trust.
She does have some inconsistenties in dot usage at end of sentence and stuff.
English, quite well but I think she uses translator if she's real. She said it's not her native language.
It drives me totally crazy not being able to figure out.
What are more ways to check if AI?23 -
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 -
A small webapp like sarahah (anonymous feedback) but it sends the anonymous reply to Telegram Bot using api2
-
I would like to supercharge my workflow this year. I want to setup a slack team for our clients in order to help track task progress better. I would like to integrate slack with Trello in order to use boards. I would also like to integrate an email bot that clients can forward todo emails to and then convert these to Trello Todos. I know how to integrate bots but how can I convert emails from the email bot to Trello todos? Do I need to create a bot of my own for that?1
-
Update concerning the current state of RemindMe
Now after Skayo's great contribution to the project, RemindMe is as of now, stable.
Contributions is still highly appreciated though
https://github.com/Hampusm/...45 -
My biggest dev sin in my rather short dev live would be my telegram bot written in node.js without any knowledge about JS. Running for almost 1 year without any error handling - oh I almost forgot I haven't documented the code - but the bot is open source, although I haven't worked on it in months1
-
That feeling when it takes you three hours to figure out that the reason it seems like your application is running the same logic following a match as it does before a match is made is because it is. Because the post route being used by the Slack bot to notify users of a match is the same post route being used when users message the Slack bot looking for a match.
*face desk*
I feel like an idiot. -
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 -
So of I want a devops bot for deploy it deploy himself or I need another bot to be a perfect DevOps??? Or Can I deploy it the old way?2
-
!rant
We made a messenger bot which compiles certain webcomics. What source should we add?
http://m.me/11603431774058225 -
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😁 -
Programming myself a telegram bot called SELENA using Python.
#Height of loneliness .
PS:It would be really nice if someone could help me with this by guiding me or sharing their code examples1 -
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.
-
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 -
I was wondering if we can mute a rant's reply via the web interface. I am (also) designing a bot that will post to a specific thread to clearify it's a bot on that account at that time, so that way the affected user won't get any side effectes from bot's work.
(Such as mass ++'ing ;) )
(Idea: https://devrant.com/rants/2660331/... )6 -
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 -
If anyone knows how to bypass Cloudfare protection, let me aware ! :)
I don't know if that is possible, i need it because a website API block my bot mmmh...5 -
Most fun I've had coding was writing a Slack bot for the team. All of it utter nonsense, but fun to do2
-
what did you do at work today? i made an Magic 8-ball chat-bot for facebook.
https://www.facebook.com/Magic8Bot/2 -
!dev
I feel like I hit a milestone yesterday - a post of mine was used by a farming bot on Reddit lol2 -
Yukki Music Bot
okay so, I'm bout to post my first rant and its basically about this telegram bot whose dev team I'm a part of, Yukki Music Bot.
It all started around April 2021 when most of us were busy streaming Netflix, chilling and locked up due to Covid that some people decided to make something interesting and for the community.
It was at first just a simple bot which just played music on call but now, due to the countless efforts and time by the Team Yukki, now you can even stream Ipl in telegram voice chat! and almost all of the music platforms are supported by Yukki >~<.
Check it out at @TeamYukki in GitHub!4 -
So I developed this bot which will make one commit everyday for. But duh! Github's security service sends me a verification code Everytime my script tries to login and the further selenium actions fails. 😂😂😂
In short : all my pain went in bin
If anyone knows how can I overcome this issue please let me know9 -
How do i make a telegram bot using python which would reply my contacts or people or tell them if i am busy or not in place of me? I am beginner in python and i don't know how to start this .
-
I made a telegram bot that gives cov19 statistics for every country around the world.
Check it, i name it @elbaronbot -
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 -
Heroku logs be like
2018-07-16T00:05:06.883023+00:00 app[bot.1]: Ready!
2018-07-16T00:05:11.940150+00:00 app[bot.1]: (node:4) UnhandledPromiseRejectionWarning: Error: 410 Gone
2018-07-16T00:05:11.940171+00:00 app[bot.1]: at _response.transport.request.then (/app/node_modules/snekfetch/src/index.js:193:21)
2018-07-16T00:05:11.940173+00:00 app[bot.1]: at <anonymous>
2018-07-16T00:05:11.940175+00:00 app[bot.1]: at process._tickCallback (internal/process/next_tick.js:188:7)
2018-07-16T00:05:11.940248+00:00 app[bot.1]: (node:4) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated
either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
2018-07-16T00:05:11.940340+00:00 app[bot.1]: (node:4) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. -
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 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
-
Having problems with connecting nodejs twitter bot to cloudinary api to fetch images and directly posting them to twitter.
Any help?3 -
Finally! Here it is my bot! :D
http://bit.ly/jo-twitter-bot
Please guys, check it out and give me all your recommendations, I will read all of them :)