Mention temporary vcs in their creation confirm
This commit is contained in:
2
bot.py
2
bot.py
@@ -800,7 +800,7 @@ async def groups_vc_slash(ctx: SlashContext):
|
|||||||
vc = await category.create_voice_channel(channel.name + "_vc", reason=reason)
|
vc = await category.create_voice_channel(channel.name + "_vc", reason=reason)
|
||||||
await vc.edit(sync_permissions=True, reason=reason)
|
await vc.edit(sync_permissions=True, reason=reason)
|
||||||
await vc.set_permissions(role, view_channel=True, connect=True, reason=reason)
|
await vc.set_permissions(role, view_channel=True, connect=True, reason=reason)
|
||||||
await ctx.send("Created temporary vc for this group")
|
await ctx.send("Created temporary vc for this group: " + vc.mention)
|
||||||
return
|
return
|
||||||
|
|
||||||
await ctx.send("Not an active group channel!", hidden=True)
|
await ctx.send("Not an active group channel!", hidden=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user