Update Activity pictures
This commit is contained in:
parent
d2916bc4c8
commit
a3820ec569
1 changed files with 4 additions and 4 deletions
|
@ -16,9 +16,9 @@ class PartyGames(commands.Cog, name="Partygames"):
|
||||||
self.togetherControl = DiscordTogether(client)
|
self.togetherControl = DiscordTogether(client)
|
||||||
self.appList = { # appNameForDiscord - (AppNameForConsumer, AppImage)
|
self.appList = { # appNameForDiscord - (AppNameForConsumer, AppImage)
|
||||||
"youtube": ("Youtube Together", "https://logo-logos.com/wp-content/uploads/2016/11/YouTube_icon_logo.png"),
|
"youtube": ("Youtube Together", "https://logo-logos.com/wp-content/uploads/2016/11/YouTube_icon_logo.png"),
|
||||||
"poker": ("Poker Night", None),
|
"poker": ("Poker Night", "https://images.launchbox-app.com/21782afd-4f83-492a-b199-38404d743e57.png"),
|
||||||
"chess": ("Chess in the Park", None),
|
"chess": ("Chess in the Park", "https://images.discordapp.net/avatars/716382796108660826/e52b79451f4d00cb04a4aca3099210a7.png?size=512"),
|
||||||
"betrayal": ("Betrayal.io", None),
|
"betrayal": ("Betrayal.io", "https://1.bp.blogspot.com/-uaqT13tY30Q/X_kqsiBJqTI/AAAAAAAADRw/R5ekQuGsO08dlBlgzXZbHktF3ioHmwmPQCLcBGAsYHQ/w1200-h630-p-k-no-nu/icon%2B%25283%2529.png"),
|
||||||
"fishing": ("Fishington.io", None)
|
"fishing": ("Fishington.io", None)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ class PartyGames(commands.Cog, name="Partygames"):
|
||||||
return await mySendHidden(ctx, fromSlash, "Vous devez d'abord être dans un salon vocal avant de faire cette commande.")
|
return await mySendHidden(ctx, fromSlash, "Vous devez d'abord être dans un salon vocal avant de faire cette commande.")
|
||||||
except discordTogether.errors.InvalidActivityChoice:
|
except discordTogether.errors.InvalidActivityChoice:
|
||||||
return await mySendHidden(ctx, fromSlash, "Cette application n'est pas reconnu par Discord.")
|
return await mySendHidden(ctx, fromSlash, "Cette application n'est pas reconnu par Discord.")
|
||||||
embed = discord.Embed(title = "Party Games", description = f"[Lancer *{appName}*]({link})")
|
embed = discord.Embed(title = "Party Games", description = f"[Lancer *{appName}*]({link}) !")
|
||||||
if appImage:
|
if appImage:
|
||||||
embed.set_thumbnail(url = appImage)
|
embed.set_thumbnail(url = appImage)
|
||||||
embed.set_footer(text = "Ne fonctionne que sur PC pour le moment.")
|
embed.set_footer(text = "Ne fonctionne que sur PC pour le moment.")
|
||||||
|
|
Reference in a new issue