Merge pull request #3 from Matthww/fix_invite

fix invite command
This commit is contained in:
2021-10-31 14:31:06 +01:00
committed by GitHub
+1 -4
View File
@@ -43,10 +43,7 @@ class InformationCog(commands.Cog, name="Information"):
@commands.cooldown(rate=1, per=5, type=commands.BucketType.user)
async def invite(self, ctx: Context):
"""Gets the invite link!"""
embed = await EmbedGenerator.Message(
ctx, "Add Christmas Music to your server:", self.bot.invite_link
)
await ctx.send(embed=embed)
await EmbedGenerator.Message(ctx, "Add our bot to your server:", self.bot.invite_link)
@commands.command(
name="wlinfo",