MCPcopy Create free account

hub / github.com/Learn-Build-Teach/learn-build-teach-discord-bot / functions

Functions73 in github.com/Learn-Build-Teach/learn-build-teach-discord-bot

↓ 7 callersFunctiongetOrCreateDiscordUser
( id: string, username?: string )
src/utils/discordUser.ts:5
↓ 5 callersFunctionupdateShare
( id: string, shareUpdate: ShareUpdate )
src/db/shares.ts:65
↓ 4 callersFunctiongetDiscordGuild
()
src/utils/discord.ts:79
↓ 4 callersFunctiongetDiscordUserById
( id: string )
src/db/discordUser.ts:6
↓ 4 callersFunctionupdateDiscordUser
( id: string, user: DiscordUserUpdate )
src/db/discordUser.ts:69
↓ 3 callersFunctiongetDiscordChannel
( channelID: string )
src/utils/discord.ts:93
↓ 2 callersFunctiongetKudosLeaderboard
()
src/db/kudos.ts:52
↓ 2 callersFunctiongetNextDayOfWeek
(date: Date, dayOfWeek: number)
src/discordEventScheduler.ts:66
↓ 2 callersFunctiongetRandomShareFromCache
()
src/utils/shareCache.ts:6
↓ 2 callersFunctiongetRecentShares
( limit: number = 20 )
src/db/shares.ts:31
↓ 2 callersFunctiongetShareToTweet
()
src/db/shares.ts:15
↓ 2 callersFunctiongetSharesForNewsletter
()
src/db/shares.ts:114
↓ 2 callersFunctiongetTweetFromShare
(share: Share)
src/tweeter.ts:35
↓ 2 callersFunctiongiveKudos
( giverId: string, receiverId: string, category: KudoCategory, description?: string )
src/db/kudos.ts:20
↓ 2 callersFunctionisValidUrl
(str: string)
src/utils/helpers.ts:1
↓ 1 callersFunctionaddNewShareToCache
(share: ShareWithUsername)
src/utils/shareCache.ts:14
↓ 1 callersFunctionaddXpToDiscordUser
(id: string)
src/db/discordUser.ts:20
↓ 1 callersFunctionbuildLeaderValueField
(leader: Leader)
src/commands/kudosLeaderboard.ts:44
↓ 1 callersFunctioncreateDiscordUser
( id: string, username: string )
src/db/discordUser.ts:29
↓ 1 callersFunctioncreateKudo
(kudo: KudoInsert)
src/db/kudos.ts:12
↓ 1 callersFunctioncreateLeaderboardFields
(leaders: Leader[])
src/commands/kudosLeaderboard.ts:32
↓ 1 callersFunctioncreateShare
( share: ShareInsert )
src/db/shares.ts:86
↓ 1 callersFunctioncreateShareEmbed
(share: ShareWithUsername)
src/commands/randomContent.ts:28
↓ 1 callersFunctioncreateUserProfileFields
(user: any)
src/commands/profile.ts:15
↓ 1 callersFunctioncreateWin
( win: WinInsert )
src/db/wins.ts:6
↓ 1 callersFunctiondeployCommands
()
src/deployCommands.ts:6
↓ 1 callersFunctiongenerateNewsletterHTML
()
src/utils/jqqNewsletter.ts:8
↓ 1 callersFunctiongetEvents
()
src/server/routes/events.ts:6
↓ 1 callersFunctiongetGuildById
(guildId: string)
src/utils/discord.ts:129
↓ 1 callersFunctiongetRecentYouTubeVideos
()
src/utils/jqqNewsletter.ts:79
↓ 1 callersFunctiongetRemoteImageInB64
(imageUrl: string)
src/utils/twitter.ts:32
↓ 1 callersFunctiongetURLExtension
(url: string)
src/db/shares.ts:172
↓ 1 callersFunctiongetUnaskedQuestion
()
src/db/DiscussionQuestion.ts:5
↓ 1 callersFunctionload
()
src/app.ts:12
↓ 1 callersMethodloadCommands
()
src/utils/discord.ts:26
↓ 1 callersFunctionmarkQuestionAsAsked
(id: string)
src/db/DiscussionQuestion.ts:40
↓ 1 callersFunctionmarkShareAsEmailed
(id: string)
src/db/shares.ts:82
↓ 1 callersFunctionmarkShareAsTweeted
(id: string)
src/db/shares.ts:51
↓ 1 callersFunctionresetDiscordUser
(user: DiscordUser)
src/db/discordUser.ts:52
↓ 1 callersFunctionsaveDiscussionQuestions
( questions: DiscussionQuestionInsert[] )
src/db/DiscussionQuestion.ts:29
↓ 1 callersFunctionscheduleLeetCodeLiveCoding
()
src/discordEventScheduler.ts:34
↓ 1 callersFunctionscheduleWinOfTheWeek
()
src/discordEventScheduler.ts:10
↓ 1 callersFunctionseedDiscussionQuestions
()
src/db/seed/seed.ts:4
↓ 1 callersFunctionsendEmailAlert
(subject: string, text: string)
src/utils/email.ts:8
↓ 1 callersFunctionsendTweet
(status: string, imageUrl?: string)
src/utils/twitter.ts:13
↓ 1 callersFunctionstartBot
()
src/bot.ts:134
↓ 1 callersFunctionstartDiscussionScheduler
()
src/discordWeeklyQuestionPoster.ts:47
↓ 1 callersFunctionstartTweetScheduler
()
src/tweeter.ts:47
↓ 1 callersFunctionuploadShareImageFromRemoteURL
( imageURL: string )
src/db/shares.ts:148
FunctioncheckAPIKey
( req: Request, res: Response, next: Function )
src/server/middleware.ts:8
Methodconstructor
(options: ClientOptions)
src/utils/discord.ts:21
Methodconstructor
()
src/server/models.ts:10
FunctiondeleteDiscordUser
(id: string)
src/db/discordUser.ts:44
Functionexecute
( interaction: CommandInteraction, options: CommandInteractionOptionResolver )
src/commands/win.ts:11
Functionexecute
( interaction: CommandInteraction, options: CommandInteractionOptionResolver )
src/commands/updateProfile.ts:96
Functionexecute
(interaction, options)
src/commands/kudos.ts:7
Functionexecute
( interaction: CommandInteraction )
src/commands/randomContent.ts:10
Functionexecute
( interaction: CommandInteraction )
src/commands/resetProfile.ts:5
Functionexecute
(interaction: CommandInteraction)
src/commands/kudosLeaderboard.ts:13
Functionexecute
( interaction: CommandInteraction, options: CommandInteractionOptionResolver )
src/commands/profile.ts:29
Functionexecute
( interaction: CommandInteraction, options: CommandInteractionOptionResolver )
src/commands/share.ts:21
FunctiongetDiscordUsernameById
(id: string)
src/utils/discord.ts:74
FunctiongetMembersByRole
( roleID: string )
src/utils/discord.ts:102
FunctionisValidHandle
(handle: string)
src/utils/helpers.ts:12
FunctionkickMember
(memberId: string)
src/utils/discord.ts:119
FunctionpostDiscussionQuestion
()
src/discordWeeklyQuestionPoster.ts:10
FunctionpostStandupReminder
()
src/discordCreatorBootcamp.ts:6
FunctionscheduleEvents
()
src/discordEventScheduler.ts:57
Functionseed
()
src/db/seed/seed.ts:13
FunctionstartBootcampPoster
()
src/discordCreatorBootcamp.ts:35
FunctionstartEventScheduler
()
src/discordEventScheduler.ts:72
FunctiontweetNextShare
()
src/tweeter.ts:8
Methodvalidator
(str: string)
src/types/types.ts:24