various minor improvements #1

Merged
Wardyn merged 1 commits from KayFaraday/ljfbot:trunk into trunk 2023-01-11 17:21:07 -08:00
Contributor
  • 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 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/
KayFaraday force-pushed trunk from d9b7cd2f79 to 39e8137279 2023-01-11 16:09:47 -08:00 Compare
KayFaraday force-pushed trunk from 39e8137279 to 4df77bd4b2 2023-01-11 16:12:11 -08:00 Compare
Wardyn merged commit 96e2b28e4e into trunk 2023-01-11 17:21:07 -08:00
KayFaraday deleted branch trunk 2023-01-11 17:26:26 -08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Wardyn/lgfbot#1
No description provided.