From afb8213c99907398c0e04acc2e287a342effab1a Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Tue, 19 Oct 2021 15:08:12 -0700 Subject: [PATCH] [DiscordExperiments] Add new game Thanks to LifelessMagoo --- discordexperiments/discordexperiments.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/discordexperiments/discordexperiments.py b/discordexperiments/discordexperiments.py index 5f48668..5862b53 100644 --- a/discordexperiments/discordexperiments.py +++ b/discordexperiments/discordexperiments.py @@ -153,3 +153,14 @@ class DiscordExperiments(commands.Cog): """ app_name = "the Word Snacks game" await self._create_invite(ctx, 879863976006127627, invite_max_age_in_seconds, app_name) + + @commands.cooldown(1, 10, discord.ext.commands.BucketType.guild) + @commands.command() + async def spellcast(self, ctx, invite_max_age_in_seconds=86400): + """ + Create a SpellCast voice channel invite. + + Use `0` for `invite_max_age_in_seconds` if you want the invite to be permanent. + """ + app_name = "the SpellCast game" + await self._create_invite(ctx, 852509694341283871, invite_max_age_in_seconds, app_name)