feat(shard): ✨ Create participant when they run p.catmask.
This commit is contained in:
@@ -653,10 +653,12 @@ class Calls(base.Cog):
|
||||
if not call:
|
||||
return
|
||||
|
||||
participant = await call.get_participant(ctx.author.id)
|
||||
|
||||
if not participant:
|
||||
return
|
||||
participant, _ = await call.set_participant(
|
||||
ctx.author.id,
|
||||
ctx.author.display_name,
|
||||
ctx.author.display_avatar.url,
|
||||
ctx.channel.id,
|
||||
)
|
||||
|
||||
await participant.set_mask(masks.get_random_mask(call.masks, masks.CAT_MASKS))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user