mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Remove redundant imports and variables
This commit is contained in:
1 parent
f5acd9e8b6
commit
4fd2d5fdfd
7 files changed
+4
-14
No files matched your search
@@ -461,8 +461,6 @@ class GuildChannelConverter(IDConverter[discord.abc.GuildChannel]):
|
||||
|
||||
@staticmethod
|
||||
def _resolve_thread(ctx: Context[BotT], argument: str, attribute: str, type: Type[TT]) -> TT:
|
||||
bot = ctx.bot
|
||||
|
||||
match = IDConverter._get_id_match(argument) or re.match(r'<#([0-9]{15,20})>$', argument)
|
||||
result = None
|
||||
guild = ctx.guild
|
||||
|
||||
Reference in new issue
Block a user