From f6c05d03deb74aa265b82608f60413c36aeecb8a Mon Sep 17 00:00:00 2001 From: Matthww Date: Sun, 31 Oct 2021 14:28:27 +0100 Subject: [PATCH] fix invite command --- cogs/information.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cogs/information.py b/cogs/information.py index 1d45160..a415669 100644 --- a/cogs/information.py +++ b/cogs/information.py @@ -54,8 +54,7 @@ class InformationCog(commands.Cog, name="Information"): async def invite(self, ctx: Context): """Gets the invite link!""" link = f"https://discord.com/oauth2/authorize?client_id=643555373814382593&permissions=3230720&scope=bot%20applications.commands" - embed = await EmbedGenerator.Message(ctx, "Add our bot to your server:", link) - await ctx.send(embed=embed) + await EmbedGenerator.Message(ctx, "Add our bot to your server:", link) @commands.command( name="wlinfo",