ServerCommandContext constructor

ServerCommandContext({
  1. required Snowflake id,
  2. required Snowflake applicationId,
  3. required String token,
  4. required int version,
  5. required Member member,
  6. required Server server,
  7. Channel? channel,
})

Implementation

ServerCommandContext({
  required this.id,
  required this.applicationId,
  required this.token,
  required this.version,
  required this.member,
  required this.server,
  this.channel,
}) {
  interaction = Interaction(token, id);
}