aboutsummaryrefslogtreecommitdiffstats
path: root/bot/pagination.py (unfollow)
Commit message (Collapse)AuthorLines
2019-10-13Update bot/seasons/evergreen/issues.pyGravatar RohanRadia-1/+1
Co-Authored-By: Kieran Siek <[email protected]>
2019-10-09Fixed emoji error in embedGravatar RohanRadia-10/+13
2019-10-07Condensed importsGravatar RohanRadia-2/+1
2019-10-07Constants match pep8 formattingGravatar RohanRadia-10/+10
2019-10-07Trailing Commas RemovedGravatar RohanRadia-4/+4
2019-10-07Made use of constants for coloursGravatar RohanRadia-1/+2
2019-10-07Added GitHub emojis to constants fileGravatar RohanRadia-0/+6
2019-10-07Made use of constants file instead of hard codingGravatar RohanRadia-5/+6
2019-10-06Updated location of emojisGravatar RohanRadia-8/+7
2019-10-06Lint errorGravatar RohanRadia-1/+0
2019-10-06Updated the explination of API callsGravatar RohanRadia-1/+8
2019-10-03Flake8 FixingGravatar RohanRadia-2/+4
2019-10-03Resloved requested changesGravatar RohanRadia-4/+7
2019-10-02Final Final Linting Error D415Gravatar RohanRadia-1/+1
2019-10-02Syntax Error FixGravatar RohanRadia-2/+2
2019-10-02Final LintingGravatar RohanRadia-5/+6
2019-10-02LintingGravatar RohanRadia-3/+2
2019-10-02New more succinct output.Gravatar RohanRadia-40/+45
2019-10-02adjust end date time to the end of the last day of october instead of the ↵Gravatar Numerlor-1/+1
beginning of it
2019-10-02put role bypass check above channel override to make sure bypass roles can ↵Gravatar Numerlor-7/+7
activate commands everywhere even with override channels specified
2019-10-02Applied suggestions from code reviewGravatar Rohan_Iceman-9/+9
Co-Authored-By: scragly <[email protected]>
2019-10-02fix grammar in in_channel_override docstringGravatar Numerlor-1/+2
2019-10-02add logging when an overriden in_channel_check failsGravatar Numerlor-0/+5
2019-10-02removed commented out codeGravatar RohanJnr-1/+0
2019-10-02Worked on the requested changes and also made a few other changes:Gravatar RohanJnr-147/+112
- when the user uses the command to stop the game, the bot fails to reply back with the winners list. This is because the varibale player_data is being initialised to {} at the start of the command. I solved this by making a player_data variable in the cog __init__() with the channel id being the key and dict as value
2019-10-02fix in_channel_check docstring styleGravatar Numerlor-2/+4
2019-10-02add return type hint to override_in_channel inner functionGravatar Numerlor-1/+1
2019-10-02call the rewritten override_in_channelGravatar Numerlor-2/+2
2019-10-02Use rewritten override_in_channel to create a new whitelist for the commandGravatar Numerlor-3/+4
2019-10-02rewrite override_in_channel to accept an optional new channel whitelistGravatar Numerlor-10/+29
add checks for the new whitelist to in_channel_check
2019-10-01fix typo in headerGravatar Numerlor-1/+1
2019-10-01allow hacktoberstats commands to be used in the hacktober channelGravatar Numerlor-0/+4
2019-10-01remove hacktoberfest channel from global whitelistGravatar Numerlor-1/+1
2019-10-01Point setup guide to site wikiGravatar S. Co1-1/+1
2019-10-01Add +14h to start UTC offset and -11 to end UTC offset to date_range in ↵Gravatar Numerlor-1/+1
query for Hacktoberfest user pull requests
2019-10-01Add #event-hacktoberfest-2019 to bot command whitelistGravatar Numerlor-1/+2
2019-10-01Move PR template so GH can find it againGravatar S. Co1-0/+0
2019-10-01added function annotations to the check methodGravatar RohanJnr-1/+1
2019-10-01added 10 more questionsGravatar RohanJnr-0/+90
2019-09-30Disable announcements and add hacktober icon.Gravatar Leon Sandøy-5/+11
The Halloween season was currently configured to run with spooky icons and to announce a terrible, contentless announcement. This has been disabled and the neon hacktoberfest icon has been placed in its stead.
2019-09-30added some questions to general, for now users can only access general ↵Gravatar RohanJnr-11/+161
category questions.I have disabled hints for general(cant make up any hints).The score is now calculated on time based answer.I am also sending information about the topic/thing on which the question has been asked.Will add more questions in a couple of days
2019-09-26Update flake8-annotation pin & relintGravatar S. Co1-19/+38
2019-09-23made the request changes which involves fixing some grammer, following PEP8 ↵Gravatar RohanJnr-29/+17
format, removed a debug statement and also some minor stuff.
2019-09-23added function annotationsGravatar RohanJnr-8/+12
2019-09-23fixed linting errorsGravatar RohanJnr-4/+3
2019-09-23corrected my spelling mistake on the file nameGravatar RohanJnr-0/+0
2019-09-23Modified the code drastically for the quiz game:Gravatar RohanJnr-267/+227
- Using a while loop to run a game rather than bunch of the functions calling each other. - using wait_for() to send hints, answers and to move to next questions.
2019-09-23Reflect persist module changes in hacktober cog.Gravatar scragly-2/+2
Co-Authored-By: Sebastiaan Zeeff <[email protected]>
2019-09-23Use mkdir exists kwarg instead of checking existing ahead of time.Gravatar scragly-4/+2
2019-09-23Improve func name, example, directory managementGravatar scragly-9/+37
Function name has been changed to `make_persistent` after prompt by @lemonsaurus asking for a more descriptive name. Thanks @MarkKoz for providing the alternate name. During local testing, the `data` directory doesn't exist yet. In prod, this isn't an issue as the persistent volume is mounted at that location. To make local testing more convenient, the directory is checked and made if not found. Persistent data files will be placed in a seasonal subdirectory so long as they have a valid season name somewhere in their path, otherwise they will be placed directly in the data directory. Added a note to docstring to avoid same-named files in the same seasons or it will conflict with each other in the persistent data directory. The example was extended a little bit to make it both actually valid if tested and hopefully make it easier to understand what's going on.