bot/src/commands/who-has.ts
openaliro/openaliro
Module

who-has.ts

@file /who-has — maintainer-only lookup.

bot/src/commands/who-has.ts

Overview

@file /who-has — maintainer-only lookup. Returns user IDs to ping, not a browsable roster: default_member_permissions: "0" hides it from everyone without guild administrator rights, and the handler checks the invoker against MAINTAINER_IDS regardless, because the first is a server setting somebody can change and the second is not.

depends on boards.ts command.ts discord.ts followup.ts maintainer.ts rigs.ts  ·  used by index.ts

flowchart TD
  handler --> boardLabel
  handler --> defer
  handler --> invokerId
  handler --> isKnownBoard
  handler --> isMaintainer
  handler --> isValidIosVersion
  handler --> message
  handler --> nfcLabel
  handler --> optionString
  handler --> radioLabel
  handler --> whoHas
Undocumented (1)

handler