|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| | 
| 
| | Co-authored-by: ToxicKidz <[email protected]> | 
| | |  | 
| | 
| 
| 
| 
| | This is useful for when we round up the number of squares used, users can still see how many were
actually used. | 
| | |  | 
| | 
| 
| 
| 
| | This is because discord.py would populate the user portion of the fetched member with cached information
which would cause the avatar url not to be updated as we had intended with that function | 
| | |  | 
| | 
| 
| 
| | If the amount of squares is not a perfect square, get the next highest perfect square | 
| | 
| 
| | Co-authored-by: Anand Krishna <[email protected]> | 
| |\ |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | 
| | 
| | 
| | | command | 
| |/ |  | 
| | |  | 
| |\ |  | 
| | |\ |  | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | | | Suppresses links in certain commands that can echo back user input.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | 
| | | 
| | | | Co-authored-by: Xithrius <[email protected]> | 
| | |/  
| |   
| |   
| |   
| |   
| | | If a subreddit has <2 posts, the posts[1] check would fail with an IndexError. If
the subreddit had less that 5 posts, then the k=5 check would also error. These changes
harden the command for these edge cases. | 
| | | 
| | 
| | 
| | | allowed_mentions | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | 
| | 
| | 
| | | Co-authored-by: Joe Banks <[email protected]>
Co-authored-by: hypergamer80 <[email protected]> | 
| | |\ |  | 
| | | | |  | 
| | | |\ |  | 
| | | | | 
| | | | 
| | | | | editing this from the web version because im at work and this fixes the issue linking being basically unusable | 
| | | | | 
| | | | 
| | | | 
| | | | | fixes it being unable to get issue numbers larger than 9
limits it somewhat length-wise and character-wise to the actual github limits | 
| | | | | 
| | | | 
| | | | | Co-authored-by: Joe Banks <[email protected]> | 
| | | | | |  | 
| | | |/ |  | 
| | | |\ |  | 
| | | | |\ |  | 
| | | | | | |  | 
| | | | | | |  | 
| | | |\ \ \ |  | 
| | | | | | | |  | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | This commit removes the `exit` check if someone were to use this:
`.int e exit` to clear the context. The check would prevent
`.int e exit()` from restarting the bot container. With the `.int reset`
and `.int exit` ability to clear the context the check for `exit` to
clear the context isn't necessary. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | Added a constant for the same filenames used in several locations.
Because the now-a-constant string is used in several locations this will
allow for it to be updated more easily down the line. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | Added in an extra `\n` at the end of the output. Sometimes discord won't
properly format the codeblock in the triple ` is not on a newline.
This changes ensures that it should. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | `.int` with nothing else now uses the
`invoke_help_command()` utility that formats
the help command much more nicely than
the default version | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | Updated the docstring for `reset` to provide
accurate information as to what the command does. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | With the regex sufficiently stolen from snekbox and
confirmed to work, the original codeblock regex has been removed. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | Changed the initialization of the logging to pull dynamically
so it can actually log correctly. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | Corrects the prefix for the a command in the docstring to use 
Lancebot's prefix.
Co-authored-by: Matteo Bertucci <[email protected]> | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | Both my pre-commit and flake8 runs are telling me
everything is fine and it's all passed. Github actions
is saying otherwise but isn't saying *where*.
So here I am with useless linting commits. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | I'm better than this I swear. I can lint before I commit.
Don't tell lemon. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | The snekbox implementation of the codeblock regex
was incorporated. This now correctly parses the
`code` and ``code`` markdown discord allows.
You can also use multiple code blocks with text interrupting it and
it will process the different code blocks as one continuous code block. |