aboutsummaryrefslogtreecommitdiffstats
path: root/bot/resources (follow)
Commit message (Collapse)AuthorAgeLines
...
* | Add initial embed and image manipulation functionsGravatar Cam Caswell2021-07-09-0/+0
|/ | | | | | | | | | | | - Add the all_cards.png file Fix my mistakes from last commit - add missing attributes to DuckGame - call divmod correctly - call assemble_board_image correctly - assemble_board_image now returns the image - I'm sorry it was late at night
* Add "cs" and "python" categories to the `.quiz` commandGravatar Objectivitix2021-07-06-7/+311
| | | | | | | | * add 30 questions each under the categories "cs" and "python" add the two categories into the code and modify the starting phase Co-authored-by: Xithrius <[email protected]> Co-authored-by: ToxicKidz <[email protected]>
* Merge branch 'main' into feature/pride-leadersGravatar Kieran Siek2021-06-03-209/+575
|\
| * Added "centisecond" in trivia_quiz.json (#751)Gravatar Soham Banerjee2021-05-29-1/+1
| | | | | | | | | | * added centisecond in json Co-authored-by: Xithrius <[email protected]>
| * change the unsolvable math question to a linalg questionGravatar Objectivitix2021-05-13-2/+2
| |
| * add one more possible answer to math q208Gravatar Objectivitix2021-05-12-1/+1
| |
| * fix ANOTHER copy paste error Gravatar Objectivitix2021-05-12-1/+1
| | | | | | | | | | 3rd copy paste error- smh Co-authored-by: Shivansh-007 <[email protected]>
| * fix copy paste errorGravatar Objectivitix2021-05-11-1/+1
| |
| * change weird google docs unicode to standard onesGravatar Objectivitix2021-05-11-6/+6
| |
| * add one more correct answer to science (q328)Gravatar Objectivitix2021-05-11-1/+1
| |
| * fix original copy paste error in math questionGravatar Objectivitix2021-05-11-1/+1
| | | | | | Co-authored-by: Matteo Bertucci <[email protected]>
| * use binary formatting instead of `bin()` in functionGravatar Objectivitix2021-05-09-2/+2
| |
| * Add dynamically generated science questionsGravatar Objectivitix2021-05-07-9/+13
| |
| * Add 30 math questions and 30 science questions to trivia_quiz.jsonGravatar Objectivitix2021-05-07-0/+331
| |
| * Merge branch 'main' into Enforce-image-processing-concurrencyGravatar ks1292021-04-30-174/+130
| |\
| | * Remove un-used sound resourcesGravatar Chris2021-04-16-41/+0
| | |
| | * Merge branch 'main' into fix/april-fools-video-categoriesGravatar ChrisJL2021-04-12-8/+0
| | |\
| | * | feat: rewrite portion of fool command to allow all videosGravatar vcokltfre2021-04-12-136/+130
| | | |
| | * | fix: put april fools video links in correct channel namesGravatar vcokltfre2021-04-11-3/+6
| | | |
| * | | Merge branch 'main' into Enforce-image-processing-concurrencyGravatar Chris2021-04-12-8/+0
| |\ \ \ | | | |/ | | |/|
| | * | Remove inappropriate riddleGravatar Chris2021-04-12-8/+0
| | |/
| * | Merge branch 'main' into Enforce-image-processing-concurrencyGravatar Chris2021-04-11-6/+36
| |\|
| | * Remove topic that doesn't make sense in discordGravatar onerandomusername2021-04-08-1/+0
| | | | | | | | | Removed the `Name one thing you like about a person to your right.` topic as it doesn't make sense in discord
| | * Add missing commas to april_fools_vids.jsonGravatar Matteo Bertucci2021-03-30-3/+3
| | | | | | | | | #639 left the json file in a broken state, not letting the bot start.
| | * Merge branch 'main' into patch-1Gravatar Neil Shah2021-03-30-1/+24
| | |\
| | | * Add more game dev topicsGravatar Boris Muratov2021-03-29-0/+4
| | | |
| | | * Added more topics.Gravatar Xithrius2021-03-28-1/+20
| | | |
| | * | Added 3 More Elements To The JsonGravatar Neil Shah2021-03-26-0/+12
| | |/
| | * Remove broken link from the April fool collection Gravatar Matteo Bertucci2021-03-24-4/+0
| | | | | | | | | Its’a braken
| * | Merge remote-tracking branch 'origin/main' into ↵Gravatar Chris2021-03-14-9/+9
| |\| | | | | | | | | | Enforce-image-processing-concurrency
| | * master => mainGravatar Joe Banks2021-03-13-9/+9
| | |
| * | Merge branch 'master' into Enforce-image-processing-concurrencyGravatar ChrisJL2021-03-05-34/+90
| |\|
| | * Merge branch 'master' into triviaGravatar Xithrius2021-03-04-10/+57
| | |\
| | | * Merge branch 'master' into masterGravatar MrKomodoDragon2021-03-04-10/+54
| | | |\
| | | * | Add colors and move embed out of send statement; add more info about Monty ↵Gravatar MrKomodoDragon2021-02-16-1/+1
| | | | | | | | | | | | | | | | | | | | Python for Fact 1
| | | * | Add .pyfacts commandGravatar MrKomodoDragon2021-02-16-0/+3
| | | | |
| | * | | Removed the Question about the Nile and changed the IDs to matc the order againGravatar Arez13372021-02-20-24/+33
| | |/ /
| * / / Move gender options to a resource fileGravatar Chris2021-02-18-0/+41
| |/ /
* | / Add pride leader cog and resources.Gravatar Shivansh-0072021-03-08-0/+100
| |/ |/|
* | "colour" to "color".Gravatar Xithrius2021-02-28-1/+1
| | | | | | Co-authored-by: Hassan Abouelela <[email protected]>
* | There's no such thing as TLI. Added TUI.Gravatar xithrius2021-02-28-1/+1
| |
* | Removed wordy-ness of one singular question.Gravatar Xithrius2021-02-28-1/+1
| | | | | | Co-authored-by: ChrisJL <[email protected]>
* | Added more topics.Gravatar xithrius2021-02-25-10/+54
|/
* Put a space after the colons for #562 trivia.Gravatar Xithrius2021-01-24-6/+6
|
* Merge pull request #562 from AnkithAbhayan/patch-1Gravatar Xithrius2021-01-24-0/+12
|\ | | | | some new questions
| * Update trivia_quiz.jsonGravatar soul crusher 20052021-01-20-0/+12
| | | | | | new questions
* | Implement Spooky Name Rate gameGravatar Vivaan Parashar2021-01-21-0/+2206
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update information for the .aoc about embedGravatar Sebastiaan Zeeff2020-11-30-4/+4
| | | | | | | | | | | I've updated the information for the about embed: - Added information on the scoring of private leaderboards - Changed the text of "join our private leaderboard", as we no longer have to introduce private leaderboards there. - I've also streamlined the section on Auth providers.
* Merge branch 'master' into feature/wonder-twins-commandGravatar ks1292020-11-23-14/+9
|\
| * Remove references to old name.Gravatar Leon Sandøy2020-11-21-9/+9
| | | | | | | | | | 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.