UserCheck.id constructor
Create a new UserCheck that succeeds if the ID of the user that created the context is id
.
Implementation
UserCheck.id(Snowflake id, {String? name})
: userIds = [id],
super(
name: name ?? 'User Check on $id',
(context) => context.user.id == id,
);