| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update math.py
Some annoying whitespace left over from the mobile GitHub editor probably
* Update math.py
* Finally fix this
* Update math.py
* Documentation
* Un-inline some comments
* Capitals and trailing spaces
* Fix comment position
* Reorder Popen
* Fix floating comments I guess
* Fix bandit
Signed-off-by: Martmists <[email protected]>
|
| | |
|
| |
|
|
| |
for local testing, I need them in my life.
|
| | |
|
| | |
|
| |
|
|
| |
them.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add cog for turning math expressions into LaTeX
Note that this does NOT require eval, and does NOT evaluate the expression,
and is therefore 100% safe
* Fix whitespace
* Fix import order
Signed-off-by: Martmists <[email protected]>
* Enable loading of math cog
Signed-off-by: Martmists <[email protected]>
* Change size from 300 to 150
* Fix requested issues
Signed-off-by: Martmists <[email protected]>
* forgot setup()
Signed-off-by: Martmists <[email protected]>
* Fix spaces being ignored
Signed-off-by: Martmists <[email protected]>
* Use latex2png instead
Signed-off-by: Martmists <[email protected]>
* Allow ` to be used in expressions to not make it look odd
Signed-off-by: Martmists <[email protected]>
* Add safe calc
Signed-off-by: Martmists <[email protected]>
* Fix flake8
Signed-off-by: Martmists <[email protected]>
* Update math.py
* Fix
Signed-off-by: Martmists <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [WIP] get_tag()
* [WIP] get_tag()
* [WIP] get_tag()
* [WIP] - tags
* [WIP] renamed to docs, tested and verified get and set commands, still need to add cooldowns and delete.
* [WIP] get_tag()
* [WIP] get_tag()
* [WIP] get_tag()
* [WIP] - tags
* [WIP] renamed to docs, tested and verified get and set commands, still need to add cooldowns and delete.
* removed the tag.py file
* Refactoring docs to tags
* [WIP] polish for the tags bot feature
* Added pagination, lots of output polish, input sanitization
* seperated out the the API interaction so it can be accessed from other cogs. Added a ton of polish, better documentation, and a help function if you just type bot.tags(). The core functionality should be done now, just missing the cooldown decorator.
* Cooldown system per command per channel. Some annotations. Ready for PR!
* oops, had left local url in.
* removing some out of scope stuff
* Using API key from constants
* Replacing Union[str, None] with Optional[str]
* adding some namespaceless commands
* inverting some conditionals with returns in them.
* removing some mysterious commas, and adding better error messages if the database operation fails
* adhering to the standard set in clickup cog to prevent shadowing.
* alphabetized cog load block, moved headers into a class attribute, and fixed punctuation consistency issues.
|
| |
|
|
|
|
| |
* adds vagrant file
* reduce memory allocation
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Some work towards cog management commands
* Constants for chevron emoji
* Cogs module should use chevron emoji
* Cog reloading command
* Small cleanup
* Cogs cog is always loaded
* Changes for Aperture
* Changes for Lemon
* Linting
* Linting
* Make lemon more comfortable
* Ability to reload all cogs
* Fix format string
* Allow reload of cog management cog
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
#15b9v: Extend paginator to support extra footer text
#15bdr: Fix paginator not showing footer on first page
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
• Patched the grievous error we overlooked
• Past time must be subtracted from current time for cooldowns
• Added `DEVTEST_CHANNEL` to constants
• Renamed previous times variable, added devtest
• Reordered imports to satisfy Travis
• For God's sake, Travis
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* autocodeblocking
* ast fix
better type annotations
* ci there you go
* line too long ==> remove comment
* deleting message + lowercase python
* comments
* remove docstrings
* you may
* not sure what you mean with move to a new line maybe this?
* descriptive enough?
* better explanation of text filtering
* rewrite
* fstring
* pep8
* better comment
* discord message length
* ok shady
* ok shady
* "This is still async discord.py"
* didnt see josephs comment
* minor comment changes
* blank and typo
* typo..
* embed sending
* adding waiting time + embed
dont know if this is the correct way to store the field string
* forgot await
* but now i know
* i heard him
* pls
* more descriptive variable name
* comment
* and better string formatting
* approve me lemon
* here we go aperture
* there we go again
* name error..... damn linter plugins
* you get it aperture
* ok lemon
* ok aperture
* constants instead of plain channel ID
* forgot one
* constants in bot.py
* lemons way ftw
* flake8 is weird man
* aperture 1
* next aperture
* dunno
* imports
* next lemon
|
| |
|
|
|
|
| |
- fixed multiline docstrings
- added newline after docstring
- changed full modulename.classname in type hints to only classname
- fixed the format of the arguments to do_<command>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial work on ClickUp cog
* More listing commands
* Fix stray square bracket
* Need to await json() calls
* Fix tasks call
* Fix lists call
* list -> task_list
* Better error handling and _way_ better tasks command
* Pagination convenience function
* Pagination for the tasks command
* Small fixes
* Pagination only paginates with more than one page
* Grab lists on startup; use strings for list in tasks command
* Provide some embed colours
* Clean up embed instantiation a bit
* Don't show paginated page number when there's only one page
* Finish up ClickUp commands
* Update command documentation
* Move a comment @Aperture
* Fixes for Lemon's review
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fancier IPython-like eval command
- Supports Embeds
- Pretty-prints
- Shortens
- Supports catching stdout
* Cache pip to speed up travis in the future
* Fix snekchek
* Update eval.py
* Re-order imports
* Comply with mentioned issues
* Fix travis
* Conform to requested edits
* Fix travis again
* Update eval.py
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
There might be a better way, I just wanted to get this working since it's a blocker.
|
| |
|
|
| |
This stuff isn't important. Just easter eggs and fun. But don't make super annoying stuff, please.
|
| |
|
| |
Literally just changes the "Connected!" message to an embed so it looks a bit nicer, and the little added bonus that you can click on the Python Bot and it will send you to the bot's repo.
|
| |
|
|
| |
Also, snekchek.
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| | |
# Conflicts:
# bot/constants.py
|
| | |\
| | |
| | | |
new HelpFormatter added #1pv7x
|
| | | | |
|
| | | |
| | |
| | |
| | | |
for the command wrappers)
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|