(sock, message, args, context)
| 9 | groupOnly: true, |
| 10 | adminOnly: true, |
| 11 | async handler(sock, message, args, context) { |
| 12 | const { chatId } = context; |
| 13 | const matchText = args.join(' '); |
| 14 | await handleWelcome(sock, chatId, message, matchText); |
| 15 | } |
| 16 | }; |
| 17 | async function handleJoinEvent(sock, id, participants) { |
| 18 | const isWelcomeEnabled = await isWelcomeOn(id); |
nothing calls this directly
no test coverage detected