Commit Graph

7 Commits

Author SHA1 Message Date
Kay Faraday 99969f0503 refactor word lists to separate files
this lets us see diffs of the ljfbot.py file in the forgejo web UI
2023-01-12 06:13:13 +00:00
Wardyn 96e2b28e4e Merge pull request 'various minor improvements' (#1) from KayFaraday/ljfbot:trunk into trunk
Reviewed-on: Wardyn/lgfbot#1
2023-01-12 01:21:05 +00:00
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
Wardyn 2dd46c4583 fixed issue in verb conjugation 2023-01-04 14:29:42 -08:00
Wardyn 809f9d272b add license 2022-11-23 00:57:44 -08:00
Wardyn e1c35d9734 first commit 2022-11-23 00:55:53 -08:00
Wardyn 5fa3ff1862 first commit 2022-11-23 00:49:27 -08:00