From 18b903bebd38de2a1605dbf20ea9c5664fb0329f Mon Sep 17 00:00:00 2001 From: Karlo Prikratki Date: Sat, 23 Jul 2022 01:15:57 +0200 Subject: [PATCH] [DiscordExperiments] Add Know What I Meme (#280) --- discordexperiments/discordexperiments.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/discordexperiments/discordexperiments.py b/discordexperiments/discordexperiments.py index dc41eb6..d298331 100644 --- a/discordexperiments/discordexperiments.py +++ b/discordexperiments/discordexperiments.py @@ -192,3 +192,13 @@ class DiscordExperiments(commands.Cog): """ app_name = "Ask Away" await self._create_invite(ctx, 976052223358406656, invite_max_age_in_seconds, app_name) + + @commands.cooldown(1, 10, discord.ext.commands.BucketType.guild) + @commands.command() + async def knowwhatimeme(self, ctx, invite_max_age_in_seconds=86400): + """ + Create a Know What I Meme voice channel invite. + Use `0` for `invite_max_age_in_seconds` if you want the invite to be permanent. + """ + app_name = "Know What I Meme" + await self._create_invite(ctx, 950505761862189096, invite_max_age_in_seconds, app_name)