| Commit message (Collapse) | Author | Lines |
|
1) made a method to load json files
2) Removed refreshlovefest and made a method to choose a random user whenever needed
3) changed the .bemyvalentine dm to .bemyvalentine secret
|
|
> 1)The made a static method to generate random heart emoji
> 2)I made a static method to get a random user using lovefest role if the person using the command dosent provide one
> 3)i made a valentines attribute in the init method taking in the json data
> 4) made the poem and compliment /p/c as case insensitive by using lower() to the user input
|
|
@with_role
|
|
1)I have re check my json file and formated the poems.
2)I have now loaded the json data when the cog extension is loaded insted of loading it per command.
3)Fixed the indentation in the comments/doc strings.(making 1st letter capital and adding a period at the end)
4)Changed double new lines to single new line between text statements.
5)changed the double new line to single new line between the imports.
|
|
1) I have now made a USER_LOVEFEST list which will have all the members having the lovefest role.Whenever people use the command '.lovefest' to get themselfs the lovefest role,their name will be appended to the list.
2) incase the bot goes offline for some reason,then we need to again add members to USER_LOVEFEST list.So for this i added one more command called '.refreshlovefest' which adds all the members having lovefest role to the list
3) Basically the purpus of the USER_LOVEFEST list is when someone uses the bemyvalentine commands,and they dont provide a user,then a random user is selected from the USER_LOVEFEST list.
these are the changes done .
|
|
|
|
|
|
more descriptive names.
|
|
|
|
|
|
|
|
around 30 date ideas(using json file to store data).We can add more if needed later.
|
|
|
|
|
|
|
|
Add Lovefest role & channel IDs to bot constants
Update environment variable name for seasonalbot (was hacktoberbot)
Update Contributor doc to reference pipenv guide rather than the
deprecated Seasonalbot GH wiki
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-Authored-By: scragly <[email protected]>
|
|
|
|
|
|
|
|
Frame stats command
Remove "stats" adjacent aliases for existing commands to avoid confusion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Add Advent of Code cog
* Update leaderboard last updated time when updating the leaderboard
Remove unnecessary test command
* Shift leaderboard embed build into helper method
* Frame global leaderboard command
* Split leaderboard entries check into helper method
* Refactor commands to support global board
* Remove unused leaderboard update, wall off global leaderboard command
Hide & short circuit global leaderboard command until implemented
Fix faulty logic causing board to be reloaded regardless of the age of the cache
* Add help shortstrings
* Use command builtin to disable global lb command until implemented
* Add AoC global leaderboard parsing
* Update pipfile and lock
Tweak global lb regex
Tweak method names for clarity
* Refactor for global leaderboard command
Separate Global & Private leaderboards into distinct classes
* Add missing header divider
* Move token for Joseph
* Phrasing
We're still doing phrasing, right?
* Clarify variable name
|