aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
...
* | Update bookmark error handlingGravatar Chris Lovering2022-08-19-2/+1
| | | | | | | | This moves sending the error response to within the except block, making it easier to parse what the code is doing.
* | Allow help in DMsGravatar Chris Lovering2022-08-19-0/+2
| | | | | | | | Since there are some comands that work in DMs, we should allow the command to be ran there.
* | Don't output command name twice in help commandGravatar Chris Lovering2022-08-19-1/+0
| |
* | Update help command to work with root_aliasesGravatar Chris Lovering2022-08-19-1/+3
| | | | | | | | | | | | Specifying root_aliases causes bookmark delete to be registered as a command rather than subcommand, which causes it to be listed even though subcommands usually aren't, and this isn't done correctly. Co-authored-by: wookie184 <[email protected]>
* | fixup: Improved docstring and error message in bookmark commandGravatar Chris Lovering2022-08-19-2/+2
| |
* | Fix unbm DM only logicGravatar Chris Lovering2022-08-19-7/+11
| | | | | | | | | | | | The DM only check was interfering with our global check against DM messages. This commit also makes the docstring a little more explanatory, as this is what the user sees when running the help command.
* | Improve the docstring for the action_bookmark functionGravatar Chris Lovering2022-08-19-1/+5
| |
* | Add command to delete bot messages in DMs with sir-lancebotGravatar Chris Lovering2022-08-19-1/+26
| |
* | Remove need for additional abstraction in bookmark commandGravatar Chris Lovering2022-08-19-24/+15
| |
* | Simplify bookmark error embed helperGravatar Chris Lovering2022-08-19-15/+12
| |
* | Simplify when a message can not be found when bookmarkingGravatar Chris Lovering2022-08-19-11/+17
| |
* | Merge branch 'main' into feat/latex-enhancementGravatar ChrisJL2022-08-18-119/+160
|\ \
| * | Help command fix, normalize suggestions for unknown commands (#1064)Gravatar Rohan Reddy Alleti2022-08-18-33/+61
| | | | | | | | | Co-authored-by: Xithrius <[email protected]>
| * | Add error handling to get_discord_messageGravatar AbooMinister252022-08-09-1/+5
| | |
| * | Refactored get_discord_message to not unnecessarily log, and cleaned up ↵Gravatar AbooMinister252022-08-08-23/+11
| | | | | | | | | | | | uwu_command
| * | Refactored methods _get_discord_message, _get_text_and_embed, and ↵Gravatar AbooMinister252022-08-08-75/+83
| | | | | | | | | | | | _convert_embed into bot/utils/messages.py
| * | Add a check for whether an embed is already available via the embeds list, ↵Gravatar AbooMinister252022-08-08-9/+10
| | | | | | | | | | | | and to use that
| * | Pulled changes from main and fixed conflictsGravatar AbooMinister252022-08-08-8/+69
| |\ \
| * | | Fixed conflicts from PR 1078Gravatar AbooMinister252022-08-08-1/+5
| | | |
| * | | Ran lints :pGravatar AbooMinister252022-07-17-4/+4
| | | |
| * | | Fix issue with .uwu failing to uwuify embeds in repliesGravatar AbooMinister252022-07-13-6/+18
| | | |
* | | | add more packages to .latexGravatar Shakya Majumdar2022-08-18-1/+8
| |/ / |/| |
* | | Enable LaTeX command in ds&a channelGravatar Anton Älgmyr2022-08-04-0/+2
| | |
* | | Merge branch 'main' into uwu-emoji-fixGravatar wookie1842022-08-02-7/+18
|\ \ \
| * | | GitHub issues embeds: preserve order and display repo name and issue number ↵Gravatar Bradley Reynolds2022-07-28-2/+4
| | | | | | | | | | | | | | | | | | | | (#1077) Co-authored-by: Numerlor <[email protected]>
| * | | Add jokes command (#1081)Gravatar Diabolical57772022-07-27-2/+8
| | | | | | | | | | | | Add jokes command
| * | | Fix incorrect type hints (#1073)Gravatar Bradley Reynolds2022-07-14-3/+6
| |/ /
* | | Updated docstring for _ext_emoji_replaceGravatar Ionite2022-07-20-1/+1
| | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
* | | Improved REGEX Emoji matchGravatar Ionite2022-07-20-1/+1
| | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
* | | Improved numerical matching safetyGravatar ionite342022-07-14-2/+2
| | | | | | | | | | | | | | | - Added ASCII flag to match pattern - Changed `isdigit` check to `isdecimal`
* | | Updated usage of REGEX_EMOJIGravatar ionite342022-07-14-1/+1
| | | | | | | | | | | | Updated usage for new naming
* | | Normalized REGEX_EMOJI namingGravatar ionite342022-07-14-1/+1
| | | | | | | | | | | | Updated pattern to follow similar naming convention of `REGEX_*` instead of `RE_*` as rest of file.
* | | Updated docstringsGravatar ionite342022-07-12-1/+3
| | | | | | | | | | | | | | | - Added docstring to `Emoji` class. - Added period to end of `_ext_emoji_replace` docstring.
* | | Added external emoji replacement filterGravatar ionite342022-07-12-0/+46
| | | | | | | | | | | | | | | | | | | | | - Added pattern `RE_EMOJI` to capture emoji markdowns - Implemented dataclass for emoji information - Added function `_ext_emoji_replace` to replace external undisplayable emojis with random emoticons - Added call to said function in `_uwuify`
* | | Removed redundant character classGravatar ionite342022-07-12-1/+1
| | | | | | | | | | | | The regex character class for the single character [w] is redundant. The character can be directly used.
* | | Type annotations for fun_cogGravatar ionite342022-07-12-1/+5
|/ /
* | Update .uwu to work with replies (#1070)Gravatar Bradley Reynolds2022-07-09-2/+15
| |
* | Help: remove redundant space in subcommand aliasesGravatar Richard Si2022-06-25-1/+1
| | | | | | `parent` already has a trailing space so let's not add *another* one.
* | RealPython home page displayed on no user search. (#1063)Gravatar Xithrius2022-06-17-4/+12
| |
* | Merge branch 'main' into patch-1Gravatar PH-KDX2022-05-30-0/+19
|\ \
| * | Allow latex command in data science and ai channelGravatar Chris Lovering2022-05-26-0/+8
| | |
| * | Add topics for `#media-processing` channel (#1054)Gravatar DMFriends2022-05-20-0/+11
| | | | | | | | | | | | | | | Add topics for `#media-processing` channel Co-authored-by: mina <[email protected]>
* | | Add amssymb packageGravatar PH-KDX2022-05-30-1/+1
| | | | | | | | | Co-authored-by: Shakya Majumdar <[email protected]>
* | | Add amsmath supportGravatar PH-KDX2022-05-18-0/+1
|/ / | | | | | | Amsmath is a widely used package for things such as including text in equations or aligning multiple equations. This PR includes it in the default LaTeX template so that p-eople can use Amsmath commands in the .latex command.
* | Merge branch 'main' into uwuGravatar Senjan212022-05-09-864/+23052
|\ \
| * | Add Twemoji utility command (#988)Gravatar Gustav Odinger2022-03-14-0/+151
| | | | | | | | | Co-authored-by: Xithrius <[email protected]>
| * | Handle Missing Logs in Latex API Response (#1036)Gravatar Shakya Majumdar2022-03-13-6/+9
| | | | | | | | | Co-authored-by: Xithrius <[email protected]>
| * | truncate output. (#1041)Gravatar MaskDuck2022-03-04-1/+4
| | |
| * | Don't call bot.run() if IN_CI env var is setGravatar Chris Lovering2022-02-20-1/+3
| | |
| * | Fix TypeError caused by adding a list to a tupleGravatar Izan2022-02-20-1/+1
| | |