Mention temporary vcs in their creation confirm

This commit is contained in:
2022-05-03 16:26:24 +02:00
parent b45390db05
commit 9ff6d06535

2
bot.py
View File

@@ -800,7 +800,7 @@ async def groups_vc_slash(ctx: SlashContext):
vc = await category.create_voice_channel(channel.name + "_vc", reason=reason)
await vc.edit(sync_permissions=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
await ctx.send("Not an active group channel!", hidden=True)