mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Remove some of deprecated channel logic
This commit is contained in:
parent
d46b912ae8
commit
024949390e
1 changed files with 0 additions and 3 deletions
|
@ -655,9 +655,6 @@ class MsG:
|
|||
|
||||
# Messy code that checks image limit and tags in blacklists
|
||||
async def _get_posts(self, ctx, *, booru='e621', tags=[], limit=1, previous={}):
|
||||
guild = ctx.guild if isinstance(
|
||||
ctx.guild, d.Guild) else ctx.channel
|
||||
|
||||
blacklist = set()
|
||||
# Creates temp blacklist based on context
|
||||
for bl in (self.blacklists['global_blacklist'], self.blacklists['guild_blacklist'].get(guild.id, {}).get(ctx.channel.id, set()), self.blacklists['user_blacklist'].get(ctx.author.id, set())):
|
||||
|
|
Loading…
Reference in a new issue