diff --git a/src/main.py b/src/main.py index 5160126..b41c45c 100644 --- a/src/main.py +++ b/src/main.py @@ -234,7 +234,7 @@ async def delete_message(ctx: discord.ApplicationContext, message: discord.Messa @bot.slash_command(name="about") -async def about_me(self, ctx: discord.ApplicationContext): +async def about_me(ctx: discord.ApplicationContext): embed = discord.Embed( title="Jimmy v3", description="A bot specifically for the LCC discord server(s).", @@ -244,8 +244,8 @@ async def about_me(self, ctx: discord.ApplicationContext): name="Source", value="[Source code is available under AGPLv3.](https://git.i-am.nexus/nex/college-bot-v2)" ) - user = await self.bot.fetch_user(421698654189912064) - appinfo = await self.bot.application_info() + user = await ctx.bot.fetch_user(421698654189912064) + appinfo = await ctx.bot.application_info() author = appinfo.owner embed.add_field(name="Author", value=f"{user.mention} created me. {author.mention} is running this instance.") return await ctx.respond(embed=embed)