mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +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})
|
# self.suggested = u.setdefault('cogs/suggested.pkl', {'last_update': 'test', 'tags': {}, 'total': 1})
|
||||||
print(self.suggested)
|
print(self.suggested)
|
||||||
self.favorites = u.setdefault('cogs/favorites.pkl', {})
|
self.favorites = u.setdefault('cogs/favorites.pkl', {})
|
||||||
self.blacklists = u.setdefault(
|
self.blacklists = u.setdefault('cogs/blacklists.pkl', {'global': {}, 'channel': {}, 'user': {}})
|
||||||
'cogs/blacklists.pkl', {'global_blacklist': set(), 'guild_blacklist': {}, 'user_blacklist': {}})
|
|
||||||
self.aliases = u.setdefault('cogs/aliases.pkl', {})
|
|
||||||
|
|
||||||
if not self.hearting:
|
if not self.hearting:
|
||||||
self.hearting = True
|
self.hearting = True
|
||||||
|
|
Loading…
Reference in a new issue