From 39b2d28873a14593d96bca4673423daac8dc6525 Mon Sep 17 00:00:00 2001 From: Karlo Prikratki Date: Tue, 7 Jun 2022 20:24:16 +0200 Subject: [PATCH] [DiscordExperiments] Add new activity (#275) --- discordexperiments/discordexperiments.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/discordexperiments/discordexperiments.py b/discordexperiments/discordexperiments.py index f071c59..f4812e9 100644 --- a/discordexperiments/discordexperiments.py +++ b/discordexperiments/discordexperiments.py @@ -172,3 +172,13 @@ class DiscordExperiments(commands.Cog): """ app_name = "Land-io" await self._create_invite(ctx, 903769130790969345, invite_max_age_in_seconds, app_name) + + @commands.cooldown(1, 10, discord.ext.commands.BucketType.guild) + @commands.command() + async def bobbleleague(self, ctx, invite_max_age_in_seconds=86400): + """ + Create a Bobble League voice channel invite. + Use `0` for `invite_max_age_in_seconds` if you want the invite to be permanent. + """ + app_name = "Bobble League" + await self._create_invite(ctx, 947957217959759964, invite_max_age_in_seconds, app_name)