Advertisement
Guest User

Untitled

a guest
Aug 4th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. #!/usr/bin/env python3
  2. """
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the Cooperative Software License. You probably
  5. expected this block to say GPL, didn't you? You little Stallmanite
  6. shit.
  7. """
  8.  
  9. from matrix_bot_api.matrix_bot_api import MatrixBotAPI
  10. from matrix_bot_api.mregex_handler import MRegexHandler
  11. from matrix_bot_api.mcommand_handler import MCommandHandler
  12. import time
  13. import sys
  14.  
  15. USERNAME = "Name" # Bot's username
  16. PASSWORD = "Password" # Bot's password
  17. SERVER = "https://ponies.im" # Matrix server URL
  18.  
  19. def check_gpl(room, event):
  20. try:
  21. print("got a GPL!")
  22. room.send_text("""{}: What fucking software "freedom" advocacy project did you just mention, you little GNU sucker? I'll have you know I am the top ANSI Common Lisp author, and I've been involved in numerous compiler hackathons on my Symbolics 3640, and I have over 300 confirmed corrections to Donald Knuth books. I am trained in copyfarleft theory and I'm the top CSL licensing programmer. You are nothing to me but just another class unconscious hipster. I will wipe your memory the fuck out with conses the likes of which has never been seen before on the CL-USER package, mark my fucking words. You think you can get away with promoting that liberal shit to me over the Internet? Think again, Python luser. As we speak I am contacting my ITS users group across the world and your gnunet server is being cracked right now so you you better prepare for the storm, skiddie. The storm that rekts your thoughts on "freedom of use". You're fucking contradictory, kiddo. Bad software design can be anywhere, anytime, and it can waste your time and resources in over seven hundred ways, and that's just in your terminal emulator. Not only am I extensively experienced in Common Lisp, I have access to the entire arsenal of AI literature, and I will use them to their full extent to wipe your miserable wannabe revolution off the face of your face, you little shit. If only you could have known what self-contradiction your little 'Freedom of use includes companies' comment was about to bring down upon you, maybe you would have pkilled rustc. But you couldn't, you didn't, and now you're being fucked over by Microsoft, you goddamn lolbertarian. I will shit worker liberation all over you and you will drown in it. You're banned from the lambda calculus, kiddo.""".format(event["sender"]))
  23. except Exception as e:
  24. print(e.message)
  25. pass
  26.  
  27. def main():
  28. print("Connecting...")
  29. bot = MatrixBotAPI(USERNAME, PASSWORD, SERVER)
  30. gpl_handler = MRegexHandler("(?i)gpl", check_gpl)
  31. bot.add_handler(gpl_handler)
  32. print("Starting polling...")
  33. bot.start_polling()
  34. while True:
  35. time.sleep(1)
  36.  
  37. if __name__ == "__main__":
  38. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement