[DiscordExperiments] Add new game

Thanks to LifelessMagoo
This commit is contained in:
aikaterna
2021-10-19 15:08:12 -07:00
committed by GitHub
parent 43902aefc9
commit afb8213c99

View File

@@ -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)