This repository has been archived by the owner on Aug 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Storage backends take a config - Add command permissions - Add ability to listen to BOTH incoming and outgoing gateway packets - Heavily refactor cli, now prefer loading from config with options as overrides - Add debug function to gateway events, helps with figuring data out w/o spamming console - Change Channel.last_message_id from property that looks in the message tracking deque, to a attribute that gets updated by the state module - Add State.fill_messages for backfilling the messages store - Handle MessageDeleteBulk in State - Add some helper functions for hash/equality model functions - Fix MessageIterator - Add Channel.delete_message, Channel.delete_messages - Some more functional stuff - Snowflake timestamp conversion - Bump holster
- Loading branch information
1 parent
feb90bd
commit 6036dd8
Showing
18 changed files
with
318 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
from disco.bot.bot import Bot, BotConfig | ||
from disco.bot.plugin import Plugin | ||
from disco.bot.command import CommandLevels | ||
from disco.util.config import Config | ||
|
||
__all__ = ['Bot', 'BotConfig', 'Plugin', 'Config'] | ||
__all__ = ['Bot', 'BotConfig', 'Plugin', 'Config', 'CommandLevels'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.