mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Fix Tunnel.message_forwarder's handling of >2000 strings (#5844)
This commit is contained in:
parent
cadcffbae5
commit
9d820234bb
@ -128,10 +128,7 @@ class Tunnel(metaclass=TunnelMeta):
|
||||
if content:
|
||||
for page in pagify(content):
|
||||
rets.append(await destination.send(page, files=files, embed=embed))
|
||||
if files:
|
||||
del files
|
||||
if embed:
|
||||
del embed
|
||||
files = embed = None
|
||||
elif embed or files:
|
||||
rets.append(await destination.send(files=files, embed=embed))
|
||||
return rets
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user