mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-21 16:52:31 -05:00
Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
@@ -124,10 +124,7 @@ class Tunnel(metaclass=TunnelMeta):
|
|||||||
if content:
|
if content:
|
||||||
for page in pagify(content):
|
for page in pagify(content):
|
||||||
rets.append(await destination.send(page, files=files, embed=embed))
|
rets.append(await destination.send(page, files=files, embed=embed))
|
||||||
if files:
|
files = embed = None
|
||||||
del files
|
|
||||||
if embed:
|
|
||||||
del embed
|
|
||||||
elif embed or files:
|
elif embed or files:
|
||||||
rets.append(await destination.send(files=files, embed=embed))
|
rets.append(await destination.send(files=files, embed=embed))
|
||||||
return rets
|
return rets
|
||||||
|
|||||||
Reference in New Issue
Block a user