This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port to discord.py v2.0 and
snakecore
(#381)
* begin porting PygameCommunityBot to discord.py v2.0 * run black * add snakecore as a dependency from GitHub repository * fix missing attribute from port * add thread messaging support, fix bugs relating to avatar/icon Asset objects * add support for receiving messages from threads in bot commands * fix embed refresh bug, sort requirements.txt * Fully port codebase to use `snakecore.utils` (#378) * begin porting to snakecore utils modules * partial port of snakecore.embed_utils * finish porting to snakecore utility modules * fix relocated constant typo * fix string typo for message browse command * add inactivity timeout parameter in EmbedPaginator * replace removed Messageable.trigger_typing with Messageable.typing * Port command system to `discord.ext.commands` (#380) * begin porting to discord.ext.commands * begin porting to discord.ext.commands 2 * finish porting command codebase to discord.ext.commands, many heavy improvements and fixes * revamp code for controlling the deletion of repsonse messages using reaction * add some extra references for globally used asyncio task objects (port) * improved command refresh command * add more module docstrings * fix typos, simplify decorator code * improve command error handling, improvements * fix imports and change command decorators * fix imports and change command decorators * remove CustomContext, improvements * more import cleanups * more import cleanups * prefer self.bot over common.bot in cogs * tweak clock command * abstract away common.global_task_set * tweak command refreshing code * modularize commands module into extensions, use pseudo DB from snakecore, delete emotion-related functionality and unused modules, implement bootstrap.json, various refactorings * run black * remove unused files * rename constants, remove more unneeded code * add bootstrap runtime override code * add missing assets * fully restructure entire codebase, turn command modules into extensions fixes and improvements * more fixes and improvments * update README * Major Codebase Refactoring: Adhere to `bot-template` repository structure (#383) * modularize commands module into extensions, use pseudo DB from snakecore, delete emotion-related functionality and unused modules, implement bootstrap.json, various refactorings * remove unused files and modules, rename constants * more fixes and improvments * update README and project requirements to Python 3.9 * correct some string inconsistencies * add optional uvloop dependency for optimization * add discord logging configuration, fixes and improvements * fix malfunctioning discord bot console * improve RedirectTextIOWrapper class * fix output bug in 'sudo' command * fix error in 'sudo edit' command * add group_by_author_timedelta kwarg to 'archive' command * fix error in previous commit * fix error in previous commit 2 * use snakecore 0.1.0 as a dependency version * change code formatter line-length to 88, improve command enabling/disabling, update runtime.txt * update setup.cfg * fix 'sudo edit' command bug
- Loading branch information