Skip to content
← Public packages

@kody/twitch

Look up Twitch users, channels, streams, and follows, with dry-run chat and channel updates.

FollowFork

Files

list-chatters.ts

13 lines · 489 B · TypeScript
import { listChatters } from './client.ts'

/**
 * List chatters in a Twitch channel. Requires moderator:read:chatters.
 *
 * @example
 * import listChatters from 'kody:@kody/twitch/list-chatters'
 * const result = await listChatters({ broadcasterLogin: 'twitchdev', limit: 50 })
 * // => { broadcasterLogin: 'twitchdev', total: 12, chatters: [...], cursor: null }
 */
export default async function twitchListChatters(params: Record<string, unknown> = {}) {
	return listChatters(params)
}