From d7479824dfa8f14cb60f87a66c0c9ec483dfae29 Mon Sep 17 00:00:00 2001 From: Karlo Prikratki Date: Sat, 24 Sep 2022 10:53:57 +0200 Subject: [PATCH] [DiscordExperiments] Add Bash Out (#284) --- discordexperiments/discordexperiments.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/discordexperiments/discordexperiments.py b/discordexperiments/discordexperiments.py index d298331..e80dc54 100644 --- a/discordexperiments/discordexperiments.py +++ b/discordexperiments/discordexperiments.py @@ -202,3 +202,13 @@ class DiscordExperiments(commands.Cog): """ app_name = "Know What I Meme" await self._create_invite(ctx, 950505761862189096, invite_max_age_in_seconds, app_name) + + @commands.cooldown(1, 10, discord.ext.commands.BucketType.guild) + @commands.command() + async def bashout(self, ctx, invite_max_age_in_seconds=86400): + """ + Create a Bash Out voice channel invite. + Use `0` for `invite_max_age_in_seconds` if you want the invite to be permanent. + """ + app_name = "Bash Out" + await self._create_invite(ctx, 1006584476094177371, invite_max_age_in_seconds, app_name)