|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | Closes #108
This pull request adds a beta version of the command myvalenstate.
This command sends an embed containing a users valenstate to the channel
it has been called in. The process used here is to first put the username
into a spaceless, lower case form and than compare it to the countries
listed under valenstates.json, put into the same form, using an implementation
of the Levenshtein algorithm.
This beta version already implements everything needed for the command to
work properly. The follwing things are missing, not meant for the future
full implementation or are subject to change if needed:
- Short comments (25 missing)
- name parameter in myvalenstate (not meant for staying/Debug)
- Object names in valenstates.json (subject to change) (1)
- Docstring for levenshtein (subject to change)
- Docstring for myvalenstate (subject to change)
(1) - The object names can be put into the right case to omit the operation
      operation on line 54 (lower_state = state.lower().replace(' ', '')) | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | A few things have been changed to address the changes listed under PR #122:
- Changed the color tag of the embed from both commands from
  discord.Color.dark_magenta() to bots.constants.Colours.pink
- Renamed valentine_facts to valentine_fact
These changes are needed to fit the projects standards. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | Closes #102
This pull request adds the commands who_is_valentine and valentine_facts.
The who_is_valentine command sends information about Saint Valentine of
Terni to the channel the command has been called in. This is done by making
use of the valentine_facts.json file's 'whois' attribute, which has
all the information stored in it.
The valentine_facts command sends a random fact with a random title to the
channel the command has been called in. This is done by making use of the
of the valentine_facts.json file's 'titles' and 'text' attribute, in which
both, the information for the titles and the facts are stored in.
Both commands do have docstrings, which explain what the command does in
an easy manner.
At the moment, there's a really sparse amount of facts available. I seek
to add a lot more in the near future. | 
| | 
| 
| 
| 
| 
| 
| | This love calculator uses two user-IDs, adds them together and takes the
modulus of 100 from it.
Invocation: .love @user1#0000 @user2#0000 | 
| | 
| 
| 
| 
| 
| 
| | This love calculator uses two user-IDs, adds them together and takes the
modulus of 100 from it.
Invocation: .love @user1#0000 @user2#0000 | 
| | 
| 
| 
| 
| 
| | - Includes LoveCalculator and somewhat of an error handler
- Awaits two mentions like so: /love @user1#0000 @user2#0000
- Sends embed to the channel where /love has been called | 
| | 
| 
| 
| 
| 
| | - Includes LoveCalculator and somewhat of an error handler
- Awaits two mentions like so: /love @user1#0000 @user2#0000
- Sends embed to the channel where /love has been called | 
| | 
| 
| 
| 
| 
| | - Includes LoveCalculator and somewhat of an error handler
- Awaits two mentions like so: /love @user1#0000 @user2#0000
- Sends embed to the channel where /love has been called | 
| |\  
| | 
| | 
| | 
| | | Add valentines season | 
| |/ |  | 
| | |  | 
| | |  | 
| | |  | 
| |\  
| | 
| | | Fix advent of code countdown | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| |/ |  | 
| |\  
| | 
| | | Send devlog notification on season load. | 
| | | 
| | 
| | | Co-Authored-By: scragly <[email protected]> | 
| | | |  | 
| |\ \  
| |/  
|/| | Private Leaderboard Daily Completion Statistics | 
| | | |  | 
| | | |  | 
| | | |  | 
| |/  
|   
|   
| | Frame stats command
Remove "stats" adjacent aliases for existing commands to avoid confusion | 
| |\  
| | 
| | | Season Improvements | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| |\ \  
| | | 
| | | | Split .notifications toggle command into .subscribe and .unsubscribe | 
| | | | |  | 
| | | | |  | 
| | |/ |  | 
| |\ \  
| |/  
|/| | Improve countdown status (align to whole 5 minutes, better messages) | 
| |/ |  | 
| |\  
| | 
| | | Fix markdown for further reading links | 
| | | |  | 
| | | 
| | 
| | 
| | 
| | 
| | | * Add private board membership total to embed
* Fix flake8, description typo | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | | * Add countdown status and notifications
* Remove debug print
* flake8 my ass
* Import order fixes
* while is_in_advent() instead of while True
* 2 * 60 => 120
* while is_in_advent() instead of while True in notifier | 
| | | 
| | 
| | 
| | 
| | | Update member name regex to properly handle hyphens
Remove session cookie from global leaderboard request | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  |