well I feel stupid
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
This commit is contained in:
parent
7291bc6181
commit
b40ee8cce8
1 changed files with 3 additions and 3 deletions
|
@ -234,7 +234,7 @@ async def delete_message(ctx: discord.ApplicationContext, message: discord.Messa
|
||||||
|
|
||||||
|
|
||||||
@bot.slash_command(name="about")
|
@bot.slash_command(name="about")
|
||||||
async def about_me(self, ctx: discord.ApplicationContext):
|
async def about_me(ctx: discord.ApplicationContext):
|
||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
title="Jimmy v3",
|
title="Jimmy v3",
|
||||||
description="A bot specifically for the LCC discord server(s).",
|
description="A bot specifically for the LCC discord server(s).",
|
||||||
|
@ -244,8 +244,8 @@ async def about_me(self, ctx: discord.ApplicationContext):
|
||||||
name="Source",
|
name="Source",
|
||||||
value="[Source code is available under AGPLv3.](https://git.i-am.nexus/nex/college-bot-v2)"
|
value="[Source code is available under AGPLv3.](https://git.i-am.nexus/nex/college-bot-v2)"
|
||||||
)
|
)
|
||||||
user = await self.bot.fetch_user(421698654189912064)
|
user = await ctx.bot.fetch_user(421698654189912064)
|
||||||
appinfo = await self.bot.application_info()
|
appinfo = await ctx.bot.application_info()
|
||||||
author = appinfo.owner
|
author = appinfo.owner
|
||||||
embed.add_field(name="Author", value=f"{user.mention} created me. {author.mention} is running this instance.")
|
embed.add_field(name="Author", value=f"{user.mention} created me. {author.mention} is running this instance.")
|
||||||
return await ctx.respond(embed=embed)
|
return await ctx.respond(embed=embed)
|
||||||
|
|
Loading…
Reference in a new issue