UNPKG

cqhttp-twitter-bot

Version:
30 lines (26 loc) 444 B
declare const enum ChatType { Private = 'private', Group = 'group', Discuss = 'discuss', } interface IChat { chatID: number, chatType: ChatType, } interface ILock { workon: number, feed: string[], threads: { [key: string]: { offset: number, updatedAt: string, subscribers: IChat[], } } } interface IRedisConfig { redisHost: string, redisPort: number, redisExpireTime: number }