aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/halloween (follow)
Commit message (Collapse)AuthorAgeLines
* Move Halloween to Holidays folderGravatar Janine vN2021-09-04-1300/+0
| | | | | Moves all the hallowen features to the holidays folder. Also updates the paths to reflect the folder moves.
* Move Easter to Holidays FolderGravatar Janine vN2021-09-04-0/+0
| | | | | | This moves the easter seasonal features into a more cohesive holidays/easter folder. Additionally, this splits out earth day into its own holiday folder.
* Move AoC and Hacktoberfest into events folderGravatar Janine vN2021-09-04-621/+0
| | | | | | | | | | Moves Advent of Code and Hacktoberfest into an events folder. Although these are roughly associated with holidays, they are standalone events that we have participated in in the past. Therefore they're being moved to an events folder separate from the "fun" or "holidays" folders.
* Merge branch 'main' into android-codeblock-fixGravatar Xithrius2021-09-03-19/+16
|\
| * Removed None return annotation for any __init__Gravatar Xithrius2021-09-01-1/+1
| |
| * Union item with None to Optional with item.Gravatar Xithrius2021-09-01-2/+2
| |
| * Fix type annotationsGravatar decorator-factory2021-08-31-16/+13
| |
* | Start and end codeblocks with newlines to avoid android rendering them inlineGravatar wookie1842021-09-01-2/+2
|/
* Improve code consistency in Movie, Wikipedia and Hactoberstats CogsGravatar D0rs4n2021-08-07-1/+1
|
* Update Hacktoberstats' get_october_prs function to use aiohttps get paramsGravatar D0rs4n2021-08-07-8/+9
|
* Merge branch 'main' into pr/fixscarymovieGravatar Xithrius2021-07-31-6/+2
|\
| * Remove hacktoberfest channel overridesGravatar Chris Lovering2021-07-06-6/+2
| | | | | | | | | | The hacktoberfest channel has now been removed, so these overrides can also be removed. The commands may still be useful in future, and can be used in lancebot's playground.
* | Modify scarymovie to use the constants module everywhere in the codeGravatar D0rs4n2021-06-25-4/+2
| |
* | Update bot/exts/halloween/scarymovie.pyGravatar D0rs4n2021-06-25-1/+1
| | | | | | Co-authored-by: ToxicKidz <[email protected]>
* | Update bot/exts/halloween/scarymovie.pyGravatar D0rs4n2021-06-25-1/+0
| | | | | | Co-authored-by: ToxicKidz <[email protected]>
* | Update scarymovie.py to use the constants moduleGravatar D0rs4n2021-06-25-3/+2
| |
* | Remove unused variable (TMDB_TOKEN)Gravatar D0rs4n2021-06-24-1/+0
| |
* | Fix .scarymovie command(halloween)Gravatar D0rs4n2021-06-24-3/+4
|/ | | | Modify the incorrect API endpoint and set HTTP parameters accordingly.
* chore: Make more things use constantsGravatar ToxicKidz2021-05-15-17/+9
|
* chore: Make things that are only used once constantsGravatar ToxicKidz2021-05-15-13/+13
|
* chore: Make all aliases in commands tuplesGravatar ToxicKidz2021-05-15-2/+2
|
* chore: Refactor more code to follow our style guideGravatar ToxicKidz2021-05-14-12/+19
|
* chore: Use pathlib.Path.read_text & write_text over openGravatar ToxicKidz2021-05-13-18/+13
|
* chore: ctx.message.author -> ctx.authorGravatar ToxicKidz2021-05-10-1/+1
|
* Merge branch 'spring-cleanup' of https://github.com/ToxicKidz/sir-lancebot ↵Gravatar ToxicKidz2021-05-05-1/+1
|\ | | | | | | into spring-cleanup
| * chore: Remove useless call of `dict.keys()`Gravatar ToxicKidz2021-05-05-1/+1
| | | | | | Co-authored-by: Anand Krishna <[email protected]>
* | chore: Use pathlib more often and apply other changesGravatar ToxicKidz2021-05-05-9/+8
|/
* chore: Apply suggested changesGravatar ToxicKidz2021-05-05-7/+8
|
* chore: Replace the remaining double quotes with double quotesGravatar ToxicKidz2021-05-04-2/+2
|
* fix: Pass bot only when __init__ is definedGravatar ToxicKidz2021-05-04-4/+1
|
* chore: Apply suggested changesGravatar ToxicKidz2021-05-04-3/+3
|
* chore: Prefer double quotes over single quotesGravatar ToxicKidz2021-05-04-87/+87
|
* fix: Resolve Merge ConflictsGravatar ToxicKidz2021-05-03-52/+0
|\
| * Merge branch 'main' into Enforce-image-processing-concurrencyGravatar Chris2021-04-11-0/+3
| |\
| * | Merge all avatar cogs into one. Also includes some in_executor and ↵Gravatar Chris2021-02-18-52/+0
| | | | | | | | | | | | max_concurrency code.
* | | Clean Up the Halloween SeasonGravatar ToxicKidz2021-04-19-230/+216
| |/ |/| | | | | | | | | | | | | | | - Change commands.Bot type hints to bot.Bot - Remove the setting of Cog.bot if it isn't being used - Use Bot.http_session instead of creating new ones - Keep string quotes and Doc-Strings consistant - Remove redundant/outdated code Ignored spookyavatar.py as it is being moved in another PR.
* | Merge branch 'main' into Handle-DMChannelsGravatar Matteo Bertucci2021-03-19-4/+4
|\|
| * Switches To Whitelist CheckGravatar Hassan Abouelela2021-02-07-4/+4
| | | | | | | | | | | | Switches all instances of override_in_channel to whitelist override. Signed-off-by: Hassan Abouelela <[email protected]>
* | First pass of easy to produce errorsGravatar Chris2021-02-05-0/+3
|/
* Implement Spooky Name Rate gameGravatar Vivaan Parashar2021-01-21-0/+401
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removed commented code added the delete command Changed the name from ratethespook to spooknamerate renamed file too rename ratethespook.json to spooknamerate.json Added more names from mockaroo added one user one reaction removed print statements fixed flake8 comments and prevented the user from deleting the word while polling fixed typo, added random messages, made each entry unique, fixed one user one reaction, made it for one day. I think I am done commented some code autopep8ed edited few lines of code added comments added some comments edited code edited code edited fixed syntax error fixed flake8 complaints fixed flake8 complaint fixed small error added a `word` command and informed user if they don't have a registered word fixed a small error where the first and last names weren't separated removed unecessary code changed word to name remove slash in multiline strings and remove unecessary comments. Also, lock the background loop to `OCTOBER` and make emojis into discord emoij form (:emoij_name:) fixed an accidental tab removed another unecessary comment remove more unecessary comments remove `.keys()` for dictionaries removed `len() > 0` for lists and dicts and changed emojis to '\N{}' form Fixed code so that return value is that specified and added fail-safes instead of `if` and `else`s f-stringify fixed borderline api abuse and missing space in defining word lint code multiple imports on one line and fix typo remove unecessary return, shorten var typehint remove 'Just' in suggestion and add extra line in json file. - unecessary comment and replace on with for in help embed description shorten emoij_message remove check in delete command use defaultdict sort imports group imports, add typehinting, remove unnecessary comments and docstring, remove redundant elses and returns sort imports refactor var wrds, use generator instead of list use typing.Dict[str, str] instead of dict and use .items() instead of get() add a comment remove reduntant comment Renamed variable to avoid conflicts add asyncio locking to prevent Runtime error add some comments lock all commands to OCTOBER enhance looping in checking messages add `cog_check` instead of limiting each command remove unused import remove test code and comments use fail fast rename function Make storage persistent and make sure announce_word does not go off everytime the bot restarts fixed typo make data persist, rename everything that has word in it to 'name' and make sure announce_name doesn't start off everytime the bot restarts. remove testing code which would cause a real mess if commited. Which I did commit. use a separate file for the name and first_time becuase re-dumping such a long file might take time make var for repetitive paths and change .day to .hour change scheduling logic lint code add cog_unload fix error in spooknamerate_names.json and fix the before_loop in spooknamerate.py revert accidental changes and remove commented code remove unused code refactor vars to caps and make emojis_val global edit docstring and make seasonalbot_commands to community_bot_commands make annotation correct and add check when channel is None for get_channel Add fullstop Loop directly over data Add a proper dash and fix linting Fix linting reverted to making EMOJIS_VAL global and fixed capitalization fix small error verify it is working and simplify import remove data files Use redis caching instead of JSON and rename remove empty title and description in embed and use discord's red color remove var typehint add Client.month_override for dev move ping function rename seasonalbot to sir-lancebot remove unnecessary newline fix line formatting move added_messages to global Add more info on the caches remove + alias improve formatting use str.format instead of func fix error directly used Channels.community_bot_commands get user from cache instead of actively fetching the user move help messages to constant add more info in err msg Apply suggestions from review Co-authored-by: ks129 <[email protected]> remove unnecessary comments remove another redundant comment improve formatting and use better var names hard-code a var Use get or fetch format Remove redundant commit Fix in_allowed_month for debugging remove extra space make channel name link to channel simplify uteration use msg.reactions directly rename r to reaction and directly use variable reformat code use from_dict instead of manually creating the Embed Remove commented code fix channel linking add some debugging support add some more info to the debug mode Directly use getLogger sort imports Remove (name) in function doctype Use SpookNameRate.debug everywhere Shrink function call to one line and remove extra info in comment Use fail fast in on_reaction_add use environment var for debug mode Set debug val to False by default Fix some line breaks that formatting with black had made and use fail fast Use custom environment variable instead of the global bot env var make bot reply and store info from the bot's reply instead of the user's message remove an accidental swp file fix the reaction not getting removed remove extra brackets use generators instead of lists fix logging statement simplify loop rename spooknamerate to spookynamerate Correct docstring Improve the name announcing code Ignore reaction of all bots rearrange or send "Name deleted" instead of "Message deleted" Add client prefix
* Formatting and add full stop to docstringGravatar Hedy Li2021-01-06-5/+9
| | | | | - bot/exts/halloween/hacktoberstats.py line 130, better readability - same file line 208-209 add full stop
* Remove unused pathlib.Path importGravatar Hedy Li2020-12-03-1/+0
|
* Merge branch 'master' into hackstatsGravatar Matteo Bertucci2020-11-30-211/+121
|\
| * Remove dead ShowProjects cog.Gravatar Leon Sandøy2020-11-21-3/+1
| | | | | | | | We no longer have this channel, so this cog serves no purpose.
| * Remove references to old name.Gravatar Leon Sandøy2020-11-21-11/+7
| | | | | | | | | | I've tried to replace this with generic references where appropriate, but a lot of the time it just doesn't make a lot of sense to do so.
| * Port HacktoberStats cog to use Redis instead of JSONGravatar ks1292020-11-16-67/+12
| |
| * Port candy_collection.py to use Redis instead of JSONGravatar ks1292020-11-16-34/+26
| |
| * Remove make_persistent import from bot extensionsGravatar Jeremiah Boby2020-11-14-2/+6
| |
| * Remove CandyCollection cogs from loaded cogsGravatar Jeremiah Boby2020-11-14-1/+0
| |
| * Remove HacktoberStats cog from loaded cogsGravatar Jeremiah Boby2020-11-14-1/+0
| |