aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities (follow)
Commit message (Collapse)AuthorAgeLines
* Fix type hint (#1314)Gravatar Ritik Ranjan2023-07-06-2/+2
|
* Disable the r/python auto poster (#1296)Gravatar ChrisJL2023-06-12-1/+1
| | | Otherwise this will error every morning while r/python isn't accessible
* Apply fixes for ruff lintingGravatar Chris Lovering2023-05-09-87/+81
| | | | | Co-authored-by: wookie184 <[email protected]> Co-authored-by: Amrou Bellalouna <[email protected]>
* alias Wolfram as WolframConfigGravatar shtlrs2023-05-06-5/+5
|
* log warning in Reddit CogGravatar shtlrs2023-05-06-1/+1
|
* Run null check on needed api keys before loading cogs.Gravatar shtlrs2023-05-06-0/+3
| | | | | | This makes sure that all cogs that need keys won't load. Which helps in avoiding exceptions at runtime, and give a clearer warning at startup time.
* give empty str as default to tokensGravatar shtlrs2023-05-06-2/+2
|
* use `SecretStr` for all secretsGravatar shtlrs2023-05-06-3/+3
|
* revert renaming of Client to BotGravatar shtlrs2023-05-06-7/+7
|
* update Tokens & WolframGravatar shtlrs2023-05-06-2/+2
|
* update Client constantsGravatar shtlrs2023-05-06-7/+7
| | | | This also renames the Client class to Bot, to align better with Python.
* update CategoriesGravatar shtlrs2023-05-06-1/+1
|
* fixed embed interaction and randomly choosing a kata (#1218)Gravatar Henri2023-03-03-5/+2
| | | Co-authored-by: Xithrius <[email protected]>
* Create the bookmark URL view at runtime instead of having a subclassGravatar Chris Lovering2023-02-19-9/+4
|
* Only successfully reply to bookmark if bookmark was sentGravatar Chris Lovering2023-02-19-18/+20
|
* Move action_bookmark to inside the ContextMenu form classGravatar Chris Lovering2023-02-19-27/+24
|
* Update docstrings and error messages in Bookmark commandGravatar Chris Lovering2023-02-19-29/+18
|
* Remove text-based bookmark commandGravatar Chris Lovering2023-02-19-89/+11
|
* Make bookmark a guild only commandGravatar Chris Lovering2023-02-19-7/+2
|
* fix typo in user shown messageGravatar arl2023-02-19-1/+1
|
* disallow usage of the context menu command in DMsGravatar Amrou Bellalouna2023-02-19-0/+5
|
* remove the call to action to check DMS for the bmGravatar Amrou Bellalouna2023-02-19-1/+0
|
* add formatting to the ephemeral embedGravatar Amrou Bellalouna2023-02-19-2/+2
|
* build a new bookmark embed for the context menu commandGravatar Amrou Bellalouna2023-02-19-3/+14
| | | | This will be sent along the ephemeral message
* mark label as optionalGravatar Amrou Bellalouna2023-02-19-1/+1
|
* move class var before ctorGravatar Amrou Bellalouna2023-02-19-9/+9
|
* return embed directly from build_bookmark_embedGravatar Amrou Bellalouna2023-02-19-2/+1
|
* add a bookmark selection formGravatar Amrou Bellalouna2023-02-19-6/+39
| | | | | | This prompts the user for a custom title for their input. This has been added to not lose the functionality of adding a custom title for a bookmark for those who need it.
* fix `AttributeError` on interaction.userGravatar Amrou Bellalouna2023-02-19-1/+1
| | | | | This bus was introduced upon refactoring the perms check. It tries to access an author property from within a user, which doesn't exist.
* fix `AttributeError` on interaction.channelGravatar Amrou Bellalouna2023-02-19-1/+1
| | | | This bus was introduced upon refactoring the perms check, and it calls channel from within a channel.
* use existing `build_error_embed` func to construct unauthorized messageGravatar Amrou Bellalouna2023-02-19-24/+11
| | | | | | This removes the need of the `user_is_permitted_to_bookmark` func, and keeps the code cleaner & more coherent It always relis on using interaction.response to reply instead of context, which might result in a failed interaction
* keep style consistency when forming embedsGravatar Amrou Bellalouna2023-02-19-5/+2
|
* make bookmark_context_menu_callback protectedGravatar Amrou Bellalouna2023-02-19-2/+2
|
* rename run_permission_check to user_is_permitted_to_bookmarkGravatar Amrou Bellalouna2023-02-19-3/+6
|
* appease linterGravatar Amrou Bellalouna2023-02-19-5/+7
|
* add bm context menuGravatar Amrou Bellalouna2023-02-19-0/+17
|
* delegate building bm embedGravatar Amrou Bellalouna2023-02-19-7/+11
|
* move running permission checks in a static methodGravatar Amrou Bellalouna2023-02-19-10/+19
|
* sync commands upon cog loadGravatar Amrou Bellalouna2023-02-19-0/+4
|
* Bump botcore version (#1180)Gravatar Amrou Bellalouna2022-12-28-1/+1
| | | Co-authored-by: Amrou Bellalouna <[email protected]>
* Update CSS class in soup targetGravatar bradtimmis2022-12-14-1/+1
|
* Fixed everythingGravatar Xithrius2022-11-02-1/+1
|
* Merge branch 'main' into mainGravatar Xithrius2022-11-02-57/+106
|\
| * Catch more status codes in Wolfram commands (#1136)Gravatar Karlis Suvi2022-10-28-0/+13
| |
| * Fix order of function parameters on @discord.ui.selectGravatar Izan2022-10-02-1/+1
| | | | | | | | During development the order of the `interaction` and `select` swapped, but this wasn't updated in the codebase. This commit fixes that.
| * Remove all wait_until_guil_available as this is now done in bot-coreGravatar Chris Lovering2022-09-23-6/+1
| |
| * Move init tasks to async cog_load functionsGravatar Chris Lovering2022-09-21-3/+2
| |
| * Fix breaking changes in emoji 2.0Gravatar Chris Lovering2022-09-21-2/+2
| |
| * Support discord.py's new async cog loadingGravatar Chris Lovering2022-09-21-35/+35
| |
| * Use extension utils from bot-coreGravatar Chris Lovering2022-09-21-14/+14
| |