aboutsummaryrefslogtreecommitdiffstats
path: root/deploy.py (unfollow)
Commit message (Collapse)AuthorLines
2018-03-06gotta use http for local api requests. Also removed snekrc.Gravatar Leon Sandøy-8/+3
2018-03-06cleaning up constants.py for readability and because I need dynamic API URLs ↵Gravatar Leon Sandøy-8/+11
for local testing, I need them in my life.
2018-03-04math broke the bot, redeploying without mathGravatar Leon Sandøy-1/+1
2018-03-04Non-alpha tag names no longer allowed.Gravatar Leon Sandøy-0/+4
2018-03-04Discord.py doesn't support Union type annotations on commands, had to remove ↵Gravatar Leon Sandøy-4/+3
them.
2018-03-03Add docstrings for math commandsGravatar Gareth Coles-0/+10
2018-03-03Add cog for turning math expressions into LaTeX (#18)Gravatar martmists-0/+103
* 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]>
2018-03-02Tag feature (#21)Gravatar Leon Sandøy-1/+268
* [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.
2018-03-02adds vagrant file (#14)Gravatar Christopher Baklid-0/+43
* adds vagrant file * reduce memory allocation
2018-03-02Switch from replace to something elseGravatar JoeBanks13-2/+2
2018-03-02Actually syntax highlight the syntax highlight instruction codeGravatar JoeBanks13-1/+1
2018-03-02Stop single tick multi line formattingGravatar JoeBanks13-0/+4
2018-03-02Cog management #1404e (#19)Gravatar Gareth Coles-1/+275
* 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
2018-03-02Adding annotations and making things more beautiful in __init__.pyGravatar Leon Sandøy-6/+10
2018-03-02Switching CI linter from snekchek to flake8Gravatar Leon Sandøy-7/+4
2018-02-28Constants for chevron emojiGravatar Gareth Coles-1/+6
2018-02-27[Travis] Only build on masterGravatar Gareth Coles-0/+4
2018-02-27Fix paginator footer display and allow extra footer textGravatar Gareth Coles-7/+26
#15b9v: Extend paginator to support extra footer text #15bdr: Fix paginator not showing footer on first page
2018-02-26Removed cooldown for devtest, fixed typo (#17)Gravatar Jeremiah Boby-2/+2
2018-02-26Patched the grievous error we overlooked (#16)Gravatar Jeremiah Boby-9/+12
• 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
2018-02-26Adding autocodeblocking (#15)Gravatar Henrik Böving-2/+48
* 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
2018-02-21Fixed formatter.py #1rhpqGravatar Sam Wedgwood-3/+24
- 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>
2018-02-20Clickup commands #z20f (#10)Gravatar Gareth Coles-6/+462
* 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
2018-02-16Martmists: Fancier IPython-like eval command (#3)Gravatar martmists-48/+166
* 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
2018-02-16Update `deploy_site` docstringGravatar Gareth Coles-1/+1
2018-02-16Update `redeploy` docstringGravatar Gareth Coles-1/+1
2018-02-16Automatically close aiohttp sessionGravatar Gareth Coles-9/+6
2018-02-16Better output on_ready with role updatesGravatar Gareth Coles-6/+18
2018-02-16Supply correct header nameGravatar Gareth Coles-1/+1
2018-02-16snekchekGravatar Gareth Coles-4/+3
2018-02-16Synchronise roles to the site.Gravatar Gareth Coles-0/+83
There might be a better way, I just wanted to get this working since it's a blocker.
2018-02-16Fun cog, limited to the bot channel.Gravatar Gareth Coles-0/+51
This stuff isn't important. Just easter eggs and fun. But don't make super annoying stuff, please.
2018-02-15Connected embed (#8)Gravatar Sam Wedgwood-1/+10
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.
2018-02-15Give Inver access to chatops.Gravatar Gareth Coles-6/+7
Also, snekchek.
2018-02-15Fix object iterationGravatar Gareth Coles-1/+1
2018-02-15Fix silly equality checkGravatar Gareth Coles-3/+5
2018-02-15Actually parse the JSON correctlyGravatar Gareth Coles-1/+3
2018-02-15Deployment cogGravatar Gareth Coles-3/+85
2018-02-13added type hinting, and rearranged some code for readabilityGravatar Sam W-9/+12
2018-02-13changed the way command names are shown (due to the change in command names ↵Gravatar Sam W-2/+2
for the command wrappers)
2018-02-13fixed styling (again)Gravatar Sam W-1/+1
2018-02-13changed commented examples to docstringsGravatar Sam W-20/+23
2018-02-13fixed more pylintGravatar Sam W-3/+2
2018-02-13fixed pylint errorsGravatar Sam W-3/+6
2018-02-13reordered imports on __main__.pyGravatar univ-1/+1
2018-02-13moved formatter.py to correct dir, and changed __main__.py to use the formatterGravatar univ-1/+3
2018-02-13added exampleGravatar univ-0/+8
2018-02-13fixed broken import againGravatar univ-1/+1
2018-02-13fixed imports and added new constantGravatar univ-2/+6
2018-02-13added help for specific commandsGravatar univ-0/+29