You've already forked JapariArchive
fixed memory leak related to video files
This commit is contained in:
@@ -63,10 +63,10 @@ def build_secondary_embed(main_post : Message, handle : str, post : Tweet):
|
||||
embed.set_author(name=handle, url=main_post.jump_url, icon_url=post.author.profile_image_url_https)
|
||||
return embeds
|
||||
|
||||
async def send_error(ex : Exception, botData : RuntimeBotData):
|
||||
async def send_error(ex : str, botData : RuntimeBotData):
|
||||
print(ex)
|
||||
errors_channel = nextcord.utils.get(botData.client.guilds[0].channels, name="bot-status")
|
||||
await errors_channel.send(content=str(ex))
|
||||
await errors_channel.send(content=ex[0:512])
|
||||
|
||||
def get_secondary_channel(is_animated, is_filtered, rating, tags : list, artist : x_accounts, guild : nextcord.Guild):
|
||||
if is_animated:
|
||||
|
||||
Reference in New Issue
Block a user