From 2d45b317e675b5c1a82aadc63f8a4d133d952ab3 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Mon, 11 Oct 2021 16:16:52 -0700 Subject: [PATCH] [DiscordExperiments] Add alternate application ID --- discordexperiments/discordexperiments.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/discordexperiments/discordexperiments.py b/discordexperiments/discordexperiments.py index c0d2b7f..07765b6 100644 --- a/discordexperiments/discordexperiments.py +++ b/discordexperiments/discordexperiments.py @@ -93,6 +93,17 @@ class DiscordExperiments(commands.Cog): Use `0` for `invite_max_age_in_seconds` if you want the invite to be permanent. """ app_name = "Chess in the Park" + await self._create_invite(ctx, 832012774040141894, invite_max_age_in_seconds, app_name) + + @commands.cooldown(1, 10, discord.ext.commands.BucketType.guild) + @commands.command() + async def chessdev(self, ctx, invite_max_age_in_seconds=86400): + """ + Create a Chess in the Park voice channel invite, the dev version. + + Use `0` for `invite_max_age_in_seconds` if you want the invite to be permanent. + """ + app_name = "Chess in the Park (Dev Version)" await self._create_invite(ctx, 832012586023256104, invite_max_age_in_seconds, app_name) @commands.cooldown(1, 10, discord.ext.commands.BucketType.guild)