mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[V3 Report] Remove outdated reference to tunnel.close() (#1856)
This commit is contained in:
parent
31612aae4a
commit
bfd6e4af3f
@ -358,7 +358,6 @@ class Reports:
|
|||||||
m = await tun.communicate(message=ctx.message, topic=topic, skip_message_content=True)
|
m = await tun.communicate(message=ctx.message, topic=topic, skip_message_content=True)
|
||||||
except discord.Forbidden:
|
except discord.Forbidden:
|
||||||
await ctx.send(_("User has disabled DMs."))
|
await ctx.send(_("User has disabled DMs."))
|
||||||
tun.close()
|
|
||||||
else:
|
else:
|
||||||
self.tunnel_store[(guild, ticket_number)] = {"tun": tun, "msgs": m}
|
self.tunnel_store[(guild, ticket_number)] = {"tun": tun, "msgs": m}
|
||||||
await ctx.send(big_topic.format(who=_("You have"), ticketnum=ticket_number))
|
await ctx.send(big_topic.format(who=_("You have"), ticketnum=ticket_number))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user