mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Streamline blacklist entries
~ Combine blacklists and aliases into one object ~ Remove guild entry in favor of channel (guild to be added as separate entry)
This commit is contained in:
parent
9a673d6233
commit
d46b912ae8
1 changed files with 1 additions and 3 deletions
|
@ -39,9 +39,7 @@ class MsG:
|
|||
# self.suggested = u.setdefault('cogs/suggested.pkl', {'last_update': 'test', 'tags': {}, 'total': 1})
|
||||
print(self.suggested)
|
||||
self.favorites = u.setdefault('cogs/favorites.pkl', {})
|
||||
self.blacklists = u.setdefault(
|
||||
'cogs/blacklists.pkl', {'global_blacklist': set(), 'guild_blacklist': {}, 'user_blacklist': {}})
|
||||
self.aliases = u.setdefault('cogs/aliases.pkl', {})
|
||||
self.blacklists = u.setdefault('cogs/blacklists.pkl', {'global': {}, 'channel': {}, 'user': {}})
|
||||
|
||||
if not self.hearting:
|
||||
self.hearting = True
|
||||
|
|
Loading…
Reference in a new issue