[DiscordExperiments] Add Bash Out (#284)

This commit is contained in:
Karlo Prikratki
2022-09-24 10:53:57 +02:00
committed by GitHub
parent e7d6709283
commit d7479824df

View File

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