MCPcopy Create free account

hub / github.com/Assassin-1234/discord-wrapped / functions

Functions51 in github.com/Assassin-1234/discord-wrapped

↓ 7 callersMethoderror
* Error log * @param message Log message
backend/src/utils/Logger.ts:37
↓ 3 callersMethodinfo
* Info log * @param message Log message
backend/src/utils/Logger.ts:21
↓ 2 callersFunctiongetToolPath
* Get the path to a tool * @param tool Tool name * @returns {string} The path to the tool
backend/src/generator/animations/wrap.ts:38
↓ 2 callersFunctionhandleFile
(file: File)
frontend/src/generate/Generate.tsx:41
↓ 1 callersFunctioncreateMoneyCount
* Create the money count frame * @param {string} text The text to display * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:355
↓ 1 callersFunctioncreateMostPlayedGames
* Create the most played games frame * @param {any[]} array The array of games * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:376
↓ 1 callersFunctioncreateMostUsedEmojis
* Create the most used emojis frame * @param {any[]} array The array of emojis * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:302
↓ 1 callersFunctioncreateMostUsedStickers
* Create the most used stickers frame * @param {any[]} array The array of stickers * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:407
↓ 1 callersFunctioncreateMostUsedWords
* Create the most used words frame * @param {any[]} array The array of words * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:431
↓ 1 callersFunctioncreateRecentGIFs
* Create the recent GIFs frame * @param {string[]} tenorLinks The links to the GIFs * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:252
↓ 1 callersFunctioncreateSummary
* Create the summary frame * @param {any[]} array The array of summary * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:460
↓ 1 callersMethoddownload
* Download the generated wrapped * @param req Express request * @param res Express response * @returns {void}
backend/src/api/controllers/GenerateController.ts:68
↓ 1 callersFunctiondownloadVideo
()
frontend/src/demo/Demo.tsx:32
↓ 1 callersFunctiondownloadVideo
()
frontend/src/generate/Generate.tsx:171
↓ 1 callersFunctionfetchDiscordEmojiBuffer
* Fetch the buffer of a Discord emoji * @param {string} id The ID of the emoji * @returns {Promise<Buffer>} The buffer of the emoji
backend/src/generator/animations/wrap.ts:162
↓ 1 callersFunctionfetchEmojiBuffer
* Fetch the buffer of an emoji * @param {string} emoji The emoji to fetch the buffer of * @returns {Promise<Buffer>} The buffer of the emoji
backend/src/generator/animations/wrap.ts:143
↓ 1 callersFunctionfetchGameImage
* Fetch a game image * @param {string} id The ID of the game * @param {string} image_id The image ID of the game * @returns {Promise<Bu
backend/src/generator/animations/wrap.ts:175
↓ 1 callersFunctionfetchMessages
* Fetch messages * @returns {void}
backend/src/generator/extractor/extract.ts:104
↓ 1 callersFunctionfetchStickerImage
* Fetch a sticker image * @param {string} id The ID of the sticker * @returns {Promise<Buffer>} The buffer of the sticker image
backend/src/generator/animations/wrap.ts:187
↓ 1 callersFunctionfetchTenorGIF
* Fetch a GIF from Tenor * @param {string} url The URL of the GIF * @returns {Promise<Buffer>} The buffer of the GIF
backend/src/generator/animations/wrap.ts:207
↓ 1 callersMethodgenerate
* Generate a wrapped * @param ws WebSocket * @param message WebSocket message
backend/src/api/controllers/GenerateController.ts:40
↓ 1 callersFunctiongetEditly
()
backend/src/generator/animations/wrap.ts:17
↓ 1 callersFunctiongetUserInfo
(dir: string, dataPackage: string, progressCallback: (progress: number, info: string) => void)
backend/src/generator/extractor/extract.ts:206
↓ 1 callersFunctiongetVideoFirstFrame
* Get the first frame of a video * @param {string} inputPath The path of the video * @returns {Promise<Buffer>} The buffer of the first fram
backend/src/generator/animations/wrap.ts:225
↓ 1 callersMethodinit
* Initialise routes
backend/src/api/routes/GenerateRoute.ts:33
↓ 1 callersFunctioninitRoutes
({ application, config }: Server)
backend/src/api/routes/index.ts:9
↓ 1 callersFunctionnumberWithCommas
* Get number with commas * @param {number} number Number to format * @returns {string} Formatted number
backend/src/generator/animations/wrap.ts:29
↓ 1 callersFunctionreadAnalyticsFile
(filePath: string, progressCallback: (progress: number, info: string) => void)
backend/src/generator/extractor/extract.ts:26
↓ 1 callersMethodready
* Ready log * @param message Log message
backend/src/utils/Logger.ts:29
↓ 1 callersFunctionreturnGameData
* Return game data * @param {any[]} arr The array with game data * @returns {Promise<any[]>}
backend/src/generator/extractor/extract.ts:191
↓ 1 callersFunctionreturnMostCommon
* Return the most common * @returns {any[][]}
backend/src/generator/extractor/extract.ts:128
↓ 1 callersFunctionreturnMostUsedEmoji
* Return the most used emoji * @param {string} message The message * @returns {any[]}
backend/src/generator/extractor/extract.ts:150
↓ 1 callersMethodupload
* Upload a data package * @param req Express request * @param res Express response * @returns {void}
backend/src/api/controllers/GenerateController.ts:19
FunctionDemo
* Demo page
frontend/src/demo/Demo.tsx:14
FunctionGenerate
* Generate page
frontend/src/generate/Generate.tsx:19
FunctionHome
* Home page
frontend/src/Home.tsx:15
Methodapplication
* Get Express application
backend/src/api/Server.ts:21
Methodconstructor
()
backend/src/utils/Logger.ts:13
Methodconstructor
(options: ServerOptions)
backend/src/api/Server.ts:13
Methodconstructor
()
backend/src/api/routes/GenerateRoute.ts:25
FunctionfilePopup
()
frontend/src/generate/Generate.tsx:152
Functiongenerate
()
frontend/src/Home.tsx:16
FunctionhandleDragLeave
(event: DragEvent<HTMLDivElement>)
frontend/src/generate/Generate.tsx:127
FunctionhandleDragOver
(event: DragEvent<HTMLDivElement>)
frontend/src/generate/Generate.tsx:121
FunctionhandleDrop
(event: DragEvent<HTMLDivElement>)
frontend/src/generate/Generate.tsx:132
FunctionhandleEnded
()
frontend/src/demo/Demo.tsx:28
FunctionhandleEnded
()
frontend/src/generate/Generate.tsx:37
FunctionhandlePlay
()
frontend/src/demo/Demo.tsx:18
FunctionhandlePlay
()
frontend/src/generate/Generate.tsx:27
FunctionshareOnTwitter
()
frontend/src/generate/Generate.tsx:187
Functionstar
()
frontend/src/generate/Generate.tsx:192