packages/purplet/src/hooks/mention-command.ts
Function $mentionCommand
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function $mentionCommand(params: MentionCommandData) {
return $merge([
$gatewayEvent('MESSAGE_CREATE', async apiMessage => {
const message = new Message(apiMessage);