From 20e1339976d13c600c66bb1ee0d2ef0bfd1fb68f Mon Sep 17 00:00:00 2001 From: qwewqa <198e559dbd446d973355f415bdfa34@gmail.com> Date: Mon, 11 Jan 2021 13:48:47 -0500 Subject: [PATCH] change fallback image --- miyu_bot/commands/cogs/event.py | 2 +- miyu_bot/commands/cogs/music.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/miyu_bot/commands/cogs/event.py b/miyu_bot/commands/cogs/event.py index d1e70bc..1b6d721 100644 --- a/miyu_bot/commands/cogs/event.py +++ b/miyu_bot/commands/cogs/event.py @@ -45,7 +45,7 @@ class Event(commands.Cog): logo = discord.File(event.logo_path, filename='logo.png') except FileNotFoundError: # Just a fallback - logo = discord.File(masters.events.get('1', ctx).logo_path, filename='logo.png') + logo = discord.File(asset_manager.path / 'ondemand/stamp/stamp_10006.png', filename='logo.png') embed = discord.Embed(title=event.name) embed.set_thumbnail(url=f'attachment://logo.png') diff --git a/miyu_bot/commands/cogs/music.py b/miyu_bot/commands/cogs/music.py index f354827..86fe982 100644 --- a/miyu_bot/commands/cogs/music.py +++ b/miyu_bot/commands/cogs/music.py @@ -60,8 +60,8 @@ class Music(commands.Cog): try: thumb = discord.File(song.jacket_path, filename='jacket.png') except FileNotFoundError: - # dig delight is just a fallback - thumb = discord.File(masters.music.get('110001', ctx).jacket_path, filename='jacket.png') + # Just a fallback + thumb = discord.File(asset_manager.path / 'ondemand/stamp/stamp_10006.png', filename='jacket.png') embed = discord.Embed(title=song.name) embed.set_thumbnail(url=f'attachment://jacket.png')