Adding a banner to the /info command

This commit is contained in:
Luke Robles 2023-10-11 19:54:55 -07:00
parent 6c470e36ff
commit 9bd591e102
14 changed files with 2 additions and 0 deletions

0
Makefile Normal file → Executable file
View File

0
app/cogs/actual_utils.py Normal file → Executable file
View File

0
app/cogs/markov.py Normal file → Executable file
View File

0
app/cogs/poll.py Normal file → Executable file
View File

2
app/cogs/server_utils.py Normal file → Executable file
View File

@ -164,6 +164,8 @@ class ServerUtils(commands.Cog):
name="Other servers using %s" % self.bot.user.name, name="Other servers using %s" % self.bot.user.name,
value="\n".join("[%s](%s)" % (x.name, x.jump_url) for x in self.bot.guilds), value="\n".join("[%s](%s)" % (x.name, x.jump_url) for x in self.bot.guilds),
) )
if server.banner:
embed.set_image(url=f"{server.banner}")
embed.set_thumbnail(url=server.icon) embed.set_thumbnail(url=server.icon)
await ctx.respond(embed=embed) await ctx.respond(embed=embed)

0
app/cogs/stable_diffusion.py Normal file → Executable file
View File

0
app/cogs/star_citizen.py Normal file → Executable file
View File

0
app/cogs/user_functions.py Normal file → Executable file
View File

0
dalebot-overview.py Normal file → Executable file
View File

0
helm/.helmignore Normal file → Executable file
View File

0
helm/Chart.yaml Normal file → Executable file
View File

0
helm/templates/_helpers.tpl Normal file → Executable file
View File

0
helm/templates/hpa.yaml Normal file → Executable file
View File

0
helm/templates/ingress.yaml Normal file → Executable file
View File