MCPcopy Create free account

hub / github.com/ACGNTaiwan/AutoChangeGroupPhoto / functions

Functions125 in github.com/ACGNTaiwan/AutoChangeGroupPhoto

↓ 12 callersMethodfrom
(pds: PhotoDataStructure)
src/photoData.ts:252
↓ 5 callersMethodget
(target: any, propName: PropertyKey)
src/autoSaver.ts:22
↓ 4 callersMethodnextPhoto
* To send update action for group photo * @param bot Telegram Bot Instance
src/photoData.ts:223
↓ 4 callersMethodprocessPixivUrl
* Convert to Reverse Proxy URL for Pixiv Images * @param config Bot Config * @param oUrl Original Image URL
src/utils.ts:311
↓ 4 callersFunctiontoMB
(byte: number)
src/consts.ts:6
↓ 3 callersMethodaddPhoto
* Add Photo to Queue * @param data Array of PhotoDataStructure * @param bot Telegram Bot Instance * @param downloader Telegram Download
src/operations.ts:151
↓ 3 callersMethodgetData
* Get Chat Data Store by Chat ID * @param data array of self * @param chatId Telegram Chat ID aka. Group ID
src/photoData.ts:102
↓ 3 callersMethodpruneQueue
(fileLink: string)
src/photoData.ts:199
↓ 2 callersMethodSave
()
src/autoSaver.ts:6
↓ 2 callersMethodcheckCacheFolder
(folder: string)
src/telegramDownload.ts:64
↓ 2 callersMethodcheckGroup
(photoData: PhotoData.PhotoDataStructure)
src/telegramDownload.ts:20
↓ 2 callersMethodcheckQueue
* Check and Add into the Queue * @param bot Telegram Bot Instance * @param msg Message Object
src/utils.ts:177
↓ 2 callersMethoddoAddPhotoByUrl
* Add URL Photo to queue * @param msg Message Object
src/autoChangeGroupPhotoBot.ts:301
↓ 2 callersMethodgetPixivIllustDetail
* Get Pixiv Illust Detail informations * @param pixiv PixivApi instance * @param config Bot Config * @param illustId Pixiv Illust ID
src/utils.ts:324
↓ 2 callersMethodgetRetryQueue
(fileLink: string)
src/photoData.ts:187
↓ 2 callersMethodparsePhoto
* Try to parse the downloaded Photo, then add into the queue * @param uploadPhoto Upload Photo callback * @param bot Telegram Bot Instance
src/utils.ts:238
↓ 2 callersFunctionprint_auth_token_response
(response)
pixiv_auth.py:38
↓ 2 callersMethodretryToQueuePhoto
* Retry to Queue failed photo change * @param bot Telegram Bot Instance * @param chatData PhotoDataStructure * @param fileLink File ID
src/photoData.ts:136
↓ 2 callersMethodsendPhotoPromise
( data: PhotoData.PhotoDataStructure[], bot: TelegramBot, downloader: TelegramDownload
src/operations.ts:191
↓ 2 callersMethodsendQueueResult
* Send Queue Result back to Chat * @param bot Telegram Bot Instance * @param msg Message Object * @param result Queue result string
src/utils.ts:148
↓ 2 callersMethodsizeLimitationCheck
* Check the content Size for pre-process action * @param config Bot Config * @param url The Request URL which need to check size
src/utils.ts:100
↓ 2 callersMethodtryGetPhotoFromUrl
* Try to get Image from the URL and try to parse then add * @param msg Message Object * @param ent Message Entity * @param url Requeste
src/autoChangeGroupPhotoBot.ts:245
↓ 1 callersFunctionCACHE_DOWNLOADED
(filename: string, dest: string)
src/consts.ts:41
↓ 1 callersFunctionInitialConfig
(_config: BotConfig, saverHandler: (() => void) | undefined)
src/botConfig.ts:69
↓ 1 callersMethod_COMMANDS_BAN
* Commands of BAN method * @param msg Message Object
src/commands.ts:98
↓ 1 callersMethod_COMMANDS_DELETE
* Commands of DELETE method * @param msg Message Object
src/commands.ts:125
↓ 1 callersMethod_COMMANDS_NEXT_PHOTO
* Commands of NEXT_PHOTO method * @param msg Message Object
src/commands.ts:82
↓ 1 callersMethod_COMMANDS_QUEUE_STATUS
* Commands of QUEUE_STATUS method * @param msg Message Object
src/commands.ts:138
↓ 1 callersMethod_COMMANDS_SET_INTERVAL
* Commands of SET_INTERVAL method * @param msg Message Object
src/commands.ts:52
↓ 1 callersMethod_COMMANDS_SET_PAUSED
* Commands of SET_PAUSED method * @param msg Message Object
src/commands.ts:16
↓ 1 callersMethod_COMMANDS_SET_RESUMED
* Commands of SET_RESUMED method * @param msg Message Object
src/commands.ts:34
↓ 1 callersMethod_COMMANDS_UNBAN
* Commands of UNBAN method * @param msg Message Object
src/commands.ts:111
↓ 1 callersMethodcheckCacheRoot
()
src/telegramDownload.ts:56
↓ 1 callersMethodcheckFile
(chatId: number, fileId: string)
src/telegramDownload.ts:79
↓ 1 callersMethodcheckGroupCacheFolder
(chatId: number)
src/telegramDownload.ts:60
↓ 1 callersMethoddoAddSticker
(msg: TelegramBot.Message)
src/autoChangeGroupPhotoBot.ts:221
↓ 1 callersMethoddoCompatibleConvert
* Convert Data from old structure * @param d PhotoDataStructure Data Array
src/photoData.ts:119
↓ 1 callersMethoddoUpdate
* Update the Group Photo Icon
src/autoChangeGroupPhotoBot.ts:182
↓ 1 callersMethodgetInstance
* Singleton of AutoChangeGroupPhotoBot * @param _config Telegram Bot config object
src/autoChangeGroupPhotoBot.ts:41
↓ 1 callersMethodgetInstance
(bot: TelegramBot, _logger: any, defaultStore: string = path.resolve(path.join(".", CONSTS.CACHE_FILE_FOLDER))
src/telegramDownload.ts:16
↓ 1 callersMethodgetMeEvent
* process get me events
src/autoChangeGroupPhotoBot.ts:127
↓ 1 callersMethodinit
()
src/commands.ts:159
↓ 1 callersMethodinit
()
src/operations.ts:220
↓ 1 callersMethodinit
()
src/utils.ts:356
↓ 1 callersFunctionlogin
()
pixiv_auth.py:54
↓ 1 callersFunctionmain
()
pixiv_auth.py:101
↓ 1 callersFunctionoauth_pkce
Proof Key for Code Exchange by OAuth Public Clients (RFC7636).
pixiv_auth.py:29
↓ 1 callersMethodparseCommand
* Parse Text Command from chat * @param data Array of PhotoDataStructure * @param bot Telegram Bot Instance * @param config Bot Config
src/operations.ts:24
↓ 1 callersMethodpreProcessUrl
* Pre-Process URL for some Open Graph supported sites * @param pixiv PixivApi instance * @param config Bot Config * @param bot Telegram
src/utils.ts:30
↓ 1 callersMethodrandomHistory
* For random output a file id and push the result to last
src/photoData.ts:208
↓ 1 callersMethodreadData
* Read PhotoDataStructure Datas into PhotoDataStore which contains Chat's data stores
src/photoData.ts:70
↓ 1 callersFunctionrefresh
(refresh_token)
pixiv_auth.py:86
↓ 1 callersMethodregisterEvent
* Register Bot events and cronjob
src/autoChangeGroupPhotoBot.ts:78
↓ 1 callersMethodregisterPixiv
* Register for Pixiv API instance * @param pixiv PixivApi instance * @param config Bot Config
src/utils.ts:281
↓ 1 callersMethodsaveConfig
* Save Config to file
src/botConfig.ts:30
↓ 1 callersMethodsaveData
* Save PhotoDataStore to data file
src/photoData.ts:92
FunctionAskForInputCredentials
()
src/botConfig.ts:37
FunctionBANNED_TEXT
(charId: number, fileId: string)
src/consts.ts:14
FunctionCACHE_CREATED_FOLDER
(folder: string)
src/consts.ts:40
FunctionCACHE_DOWNLOADED_RENAME_ERROR
(filename: string, dest: string, error: Error)
src/consts.ts:42
FunctionCACHE_DOWNLOADING
(dest: string)
src/consts.ts:44
FunctionCACHE_DOWNLOAD_ERROR
(dest: string, reason: string)
src/consts.ts:45
FunctionCACHE_DOWNLOAD_IGNORE
(dest: string)
src/consts.ts:46
FunctionCACHE_FOLDER_CHECKED
(folder: string, files: string[])
src/consts.ts:47
FunctionCHAT_DISABLED_BY_SYSTEM
(chatId: number, reason: string)
src/consts.ts:48
FunctionDELETE_TEXT
(charId: number, fileId: string)
src/consts.ts:16
FunctionENABLED_PIXIV_ACCOUNT
(account: string, refreshToken: string)
src/consts.ts:53
FunctionENABLING_PIXIV_ACCOUNT
(account: string)
src/consts.ts:57
FunctionENABLING_REFRESHED_PIXIV_ACCOUNT
(account: string, refreshToken: string)
src/consts.ts:55
FunctionFILE_ADDED_INTO_QUEUE
(fileId: string)
src/consts.ts:59
FunctionFILE_ADD_INTO_QUEUE_UNSUPPORTED
(fileName: string)
src/consts.ts:58
FunctionFILE_ALREADY_IN_QUEUE
(fileId: string)
src/consts.ts:60
FunctionGET_CHAT_ERROR
(chatId: number, reason: any)
src/consts.ts:61
FunctionGROUP_PHOTO_PIXIV_CAPTION
(illust: PhotoData.PixivIllustStructure)
src/consts.ts:63
FunctionIMAGE_FROM_URL_DIMENSION
(mime: string, w: number, h: number)
src/consts.ts:69
FunctionNOT_SUPPORT_FOR_HENTAI
(url: string)
src/consts.ts:73
FunctionNOT_SUPPORT_FOR_HENTAI_MSG
(url: string)
src/consts.ts:74
FunctionNOW_INTERVAL
(interval: string)
src/consts.ts:75
FunctionPAUSE_RESUME_LOG_MESSAGE
(chat: TelegramBot.Chat, chatData: PhotoData.PhotoDataStructure)
src/consts.ts:78
FunctionPAUSE_RESUME_MESSAGE
(chat: TelegramBot.Chat, chatData: PhotoData.PhotoDataStructure)
src/consts.ts:76
FunctionPHOTO_RETRY_DELETE_FROM_QUEUE
(charId: number, fileId: string)
src/consts.ts:83
FunctionPHOTO_RETRY_DELETE_MESSAGE
(fileId: string)
src/consts.ts:82
FunctionPHOTO_RETRY_REQUEUE
(charId: number, fileId: string)
src/consts.ts:85
FunctionPIXIV_ILLUST_DETAIL
(illust: PhotoData.PixivIllustStructure)
src/consts.ts:87
FunctionPIXIV_ILLUST_IID_URL
(iid: number)
src/consts.ts:86
FunctionPIXIV_URL_REVERSED_PROXY
(oUrl: string, pUrl: string)
src/consts.ts:90
FunctionPhotoDataStore
(initStore: PhotoDataStructure[] = [], saverHandler: (() => void) | undefined)
src/photoData.ts:268
FunctionQUEUE_REQUEST_TEXT
(type: string, name: string)
src/consts.ts:91
FunctionQUEUE_TEXT
(type: string, chat: TelegramBot.Chat)
src/consts.ts:92
FunctionQUEUE_WAS_BANNED
(chatId: number, fileId: string)
src/consts.ts:93
FunctionSET_INTERVAL
(interval: string)
src/consts.ts:99
FunctionUNBANNED_TEXT
(charId: number, fileId: string)
src/consts.ts:100
FunctionUNSUPPORTED_FILE_EXTENSIONS
(fileName: string)
src/consts.ts:101
FunctionUPDATED_PHOTO
(chat: TelegramBot.Chat, fileLink: string)
src/consts.ts:105
FunctionUPDATE_PHOTO_ERROR
(chatId: number, reason: any)
src/consts.ts:102
FunctionUPDATE_PHOTO_IGNORE
(chat: TelegramBot.Chat)
src/consts.ts:103
FunctionUPLOADING_PHOTO
(chatId: string | number, image: Buffer, url: string)
src/consts.ts:107
FunctionURL_CONTENT_TYPE_NOT_ACCEPTED
(url: string, mime: string)
src/consts.ts:109
FunctionURL_FOUND_OG_IMAGE_URL
(msg: TelegramBot.Message, url: string, ogUrl: string)
src/consts.ts:114
FunctionURL_HTML_IGNORE
(url: string)
src/consts.ts:111
next →1–100 of 125, ranked by callers