Plugin Name
RoomAnnouncer (?)
Plugin Options
type IdListFunction = (wechaty: Wechaty) => string | string[]
type IdOption = string | string[] | IdListFunction
interface Options {
admin: {
room: IdOption,
at: boolean,
command?: string,
doubleCofirm: boolean,
whitelist: {
contact?: IdOption,
},
blacklist: {
contact?: IdOption,
}
},
room: string | string[] | RoomListFunction
}
Description
If there's a new message in the admin room, and it matches the options as a room announcement request, then the bot will set this message as the announcement in the room rooms.
Plugin Name
RoomAnnouncer (?)
Plugin Options
Description
If there's a new message in the
adminroom, and it matches theoptionsas a room announcement request, then the bot will set this message as the announcement in theroomrooms.