18

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! 😐

Comments
  • 16
  • 4
  • 0
    More like lack of incompetence
  • 4
    My Discord bot also sends me random shit sometimes. But that's because it's a bridge bot and some human actually typed that random shit. :D
  • 1
    That's nothing, mine got 'hijacked' and banned everyone and deleted everything in every server it had admin permissions on (which was luckily only mine and my testing one). Needless to say it's not a good idea
Add Comment