aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2019-02-18I did the following changes :Gravatar Rohan-32/+46
1.Lovefest invoke the help cmd. 2.Checks whether the user to whome the valentine should be sent has the lovefest role or not.People who have the lovefest role can only receive valentines. 3.Using role.members insted of guild.members. 4.When choosing a random valentine, if there is no one having the lovefest role,then the bot replies saying that there is no one to send a valentine to.This will be required at the initial stages of this command when in production.
2019-02-17fixed linter issuesGravatar Rohan-23/+3
2019-02-17I did the following changes:Gravatar Rohan-24/+48
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
2019-02-15The did the follwing changes :Gravatar Rohan-95/+99
> 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
2019-02-14I have made the command .refreshlovefest modertaor only using the decorator ↵Gravatar Rohan-1/+3
@with_role
2019-02-14I have made the following changes :Gravatar Rohan-56/+44
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.
2019-02-13Well i have done quite a few changes :Gravatar Rohan-12/+40
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 .
2019-02-12im done working with the bemyvalentine commandGravatar Rohan-0/+319
2019-02-08fixed the issuesGravatar Rohan-3/+5
2019-02-07added a color called bright_green to the colors class.gave the variables ↵Gravatar Rohan-9/+11
more descriptive names.
2019-02-07fixed linter errorsGravatar Rohan-1/+1
2019-02-07edited the emoji listGravatar Rohan-1/+1
2019-02-07fixed linter issuesGravatar Rohan-2/+3
2019-02-07I have finished working on the issue #101 SaveTheDate command.i have added ↵Gravatar Rohan-0/+164
around 30 date ideas(using json file to store data).We can add more if needed later.
2019-02-06Add precommit install instruction.Gravatar Scragly-0/+10
2019-02-05Change Lovefest role IDGravatar sco1-1/+1
2019-02-06Add console steps, update pycharm steps and required env vars.Gravatar Scragly-84/+263
2019-02-05Add Lovefest configuration, update project documentsGravatar sco1-2/+7
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
2019-02-03Add valentines seasonGravatar Joseph Banks-0/+20
2019-01-19Add precommit dev dependency and relockGravatar sco1-72/+182
2019-01-19Update Contributor docGravatar sco1-9/+45
2019-01-02Remove autodeploy via `pepper`.Gravatar Johannes Christ-9/+0
2018-12-26Fixing error in advent of code countdown by removing datetime prefixesGravatar Joseph Banks-2/+2
2018-12-26Address flake8 complaintsGravatar Joseph Banks-1/+2
2018-12-26Fix the grammar on the messageGravatar Joseph Banks-1/+1
2018-12-26Address review commentsGravatar Joseph Banks-1/+4
2018-12-26Add a notice to AoC countdown to find out if we are still in the advent of codeGravatar Joseph Banks-0/+4
2018-12-26Fix is_in_advent() functionGravatar Joseph Banks-1/+2
2018-12-06Fix comment typoGravatar Johannes Christ-1/+1
Co-Authored-By: scragly <[email protected]>
2018-12-05Delete parenthesesGravatar sco1-1/+1
2018-12-05Fix leaderboard parsing regex to support twitter handlesGravatar sco1-1/+1
2018-12-05Add daily summary commandGravatar sco1-6/+37
2018-12-05Add daily summary statistics calculationGravatar sco1-2/+40
Frame stats command Remove "stats" adjacent aliases for existing commands to avoid confusion
2018-12-05Send devlog message on season load.Gravatar Scragly-8/+35
2018-12-03Adapt code style according to reviewGravatar ByteCommander-3/+5
2018-12-04Use contextlib.suppress, remove unnecessary `u` prefix.Gravatar Scragly-11/+6
2018-12-03Various fixes from review (squished)Gravatar ByteCommander-3/+4
2018-12-03Split .notifications toggle command into .subscribe and .unsubscribeGravatar ByteCommander-8/+20
2018-12-03Improve countdown status (align to whole 5 minutes, better messages)Gravatar ByteCommander-15/+23
2018-12-03Handle edit errors, tidy model and docsGravatar Scragly-65/+159
2018-12-03Add season announcement supportGravatar scragly-17/+97
2018-12-03Add season element set methods, add server icon change supportGravatar scragly-31/+118
2018-12-03Allow Admin role env setting when debuggingGravatar scragly-1/+1
2018-12-03Cleanup BaseclassGravatar scragly-57/+170
2018-12-02Add private board membership total to embed (#82)Gravatar sco1-2/+6
* Add private board membership total to embed * Fix flake8, description typo
2018-12-02AoC countdown (#81)Gravatar Joseph-2/+131
* 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
2018-12-01Fix global lb display to respect ties (#79)Gravatar sco1-3/+8
Update member name regex to properly handle hyphens Remove session cookie from global leaderboard request
2018-12-01Docker: build-base. I love alpine but it's so easy to forget stuff.Gravatar Gareth Coles-1/+1
2018-12-01Docker: Forgot zlib-devGravatar Gareth Coles-1/+1
2018-12-01Docker: Add Pillow depsGravatar Gareth Coles-1/+1