(mentionable: { isRole: boolean, subjectId: Snowflake })
| 69 | } |
| 70 | |
| 71 | export function mentionableMention(mentionable: { isRole: boolean, subjectId: Snowflake }): string { |
| 72 | return mentionable.isRole ? roleMention(mentionable.subjectId) : userMention(mentionable.subjectId); |
| 73 | } |
| 74 | |
| 75 | export function commandMention(commandName: string, subcommandName?: string) { |
| 76 | const liveCommand = ClientUtils.getLiveCommand(commandName); |
no outgoing calls
no test coverage detected