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:
|
if not call:
|
||||||
return
|
return
|
||||||
|
|
||||||
participant = await call.get_participant(ctx.author.id)
|
participant, _ = await call.set_participant(
|
||||||
|
ctx.author.id,
|
||||||
if not participant:
|
ctx.author.display_name,
|
||||||
return
|
ctx.author.display_avatar.url,
|
||||||
|
ctx.channel.id,
|
||||||
|
)
|
||||||
|
|
||||||
await participant.set_mask(masks.get_random_mask(call.masks, masks.CAT_MASKS))
|
await participant.set_mask(masks.get_random_mask(call.masks, masks.CAT_MASKS))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user