Commit Graph

1 Commits

Author SHA1 Message Date
Kay Faraday 4df77bd4b2 various minor improvements
- use random.choice() instead of random.randrange() and checking for each number
- use proper `not` operator instead of `== False`
- use format strings instead of manually concatenating the components of the post
- use getpass.getpass() instead of input() for entering the user's password
- make the script executable using a shebang and chmod +x
- gitignore .lgfbot/
- use sets instead of lists for static containment checks
2023-01-12 00:12:01 +00:00