change fallback image
This commit is contained in:
parent
9893e78034
commit
20e1339976
@ -45,7 +45,7 @@ class Event(commands.Cog):
|
|||||||
logo = discord.File(event.logo_path, filename='logo.png')
|
logo = discord.File(event.logo_path, filename='logo.png')
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
# Just a fallback
|
# 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 = discord.Embed(title=event.name)
|
||||||
embed.set_thumbnail(url=f'attachment://logo.png')
|
embed.set_thumbnail(url=f'attachment://logo.png')
|
||||||
|
@ -60,8 +60,8 @@ class Music(commands.Cog):
|
|||||||
try:
|
try:
|
||||||
thumb = discord.File(song.jacket_path, filename='jacket.png')
|
thumb = discord.File(song.jacket_path, filename='jacket.png')
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
# dig delight is just a fallback
|
# Just a fallback
|
||||||
thumb = discord.File(masters.music.get('110001', ctx).jacket_path, filename='jacket.png')
|
thumb = discord.File(asset_manager.path / 'ondemand/stamp/stamp_10006.png', filename='jacket.png')
|
||||||
|
|
||||||
embed = discord.Embed(title=song.name)
|
embed = discord.Embed(title=song.name)
|
||||||
embed.set_thumbnail(url=f'attachment://jacket.png')
|
embed.set_thumbnail(url=f'attachment://jacket.png')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user