[DiscordExperiments] Add Ask Away (#278)
This commit is contained in:
@@ -182,3 +182,13 @@ class DiscordExperiments(commands.Cog):
|
|||||||
"""
|
"""
|
||||||
app_name = "Bobble League"
|
app_name = "Bobble League"
|
||||||
await self._create_invite(ctx, 947957217959759964, invite_max_age_in_seconds, app_name)
|
await self._create_invite(ctx, 947957217959759964, invite_max_age_in_seconds, app_name)
|
||||||
|
|
||||||
|
@commands.cooldown(1, 10, discord.ext.commands.BucketType.guild)
|
||||||
|
@commands.command()
|
||||||
|
async def askaway(self, ctx, invite_max_age_in_seconds=86400):
|
||||||
|
"""
|
||||||
|
Create an Ask Away voice channel invite.
|
||||||
|
Use `0` for `invite_max_age_in_seconds` if you want the invite to be permanent.
|
||||||
|
"""
|
||||||
|
app_name = "Ask Away"
|
||||||
|
await self._create_invite(ctx, 976052223358406656, invite_max_age_in_seconds, app_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user