Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/discord/airhornbot
/ functions
Functions
106 in github.com/discord/airhornbot
⨍
Functions
106
◇
Types & classes
22
↓ 10 callers
Method
dispatch
(data: unknown)
website/src/dispatcher.ts:12
↓ 5 callers
Method
subscribe
(listener)
website/src/dispatcher.ts:8
↓ 4 callers
Function
validateEmoji
(emoji: string)
bot/src/utils/EmojiValidator.ts:3
↓ 3 callers
Function
generateRegisterCommandsBody
(prismaClient: PrismaClient)
bot/src/utils/RegisterCommandsUtils.ts:9
↓ 3 callers
Function
getTotalUnique
(columnName: 'userId' | 'guildId' | 'channelId')
bot/src/routes/ApiEventsRoute.ts:11
↓ 3 callers
Method
open
(url: string)
website/src/stores/ShareStore.ts:14
↓ 3 callers
Method
redirectedFromOAuth
(addedBot: boolean)
website/src/stores/OAuthStore.ts:42
↓ 3 callers
Function
registerGlobalChatInputCommand
(discordChatInputCommand: DiscordChatInputCommand)
bot/src/discord/listeners/InteractionCreateListener.ts:15
↓ 2 callers
Method
endOAuth
()
website/src/stores/OAuthStore.ts:36
↓ 2 callers
Function
enqueSound
( channel: VoiceBasedChannel, soundFileReference: string, counterQueueItem: CounterQueueItem, userQueu
bot/src/utils/AirhornAudio.ts:55
↓ 2 callers
Method
getCount
()
website/src/stores/AirhornStatsStore.ts:70
↓ 2 callers
Function
getTotalItemsInGuildQueue
(guildId: string)
bot/src/utils/AirhornAudio.ts:26
↓ 2 callers
Method
handle
(commandInteraction: ChatInputCommandInteraction)
bot/src/discord/commands/StatsCommand.ts:13
↓ 2 callers
Method
isMobile
()
website/src/stores/ResponsiveStore.ts:16
↓ 2 callers
Function
isVisible
(el)
website/src/components/Layout.tsx:43
↓ 2 callers
Method
shouldShowStatsPanel
()
website/src/stores/AirhornStatsStore.ts:86
↓ 1 callers
Function
addToCounterQueue
(counterQueueItem: CounterQueueItem)
bot/src/utils/QueueHandler.ts:97
↓ 1 callers
Function
addToRepairGuildIdQueue
(reapirGuildIdItem: ReapirGuildIdItem)
bot/src/utils/QueueHandler.ts:44
↓ 1 callers
Function
addToUserQueue
(userQueueItem: UserQueueItem)
bot/src/utils/QueueHandler.ts:128
↓ 1 callers
Function
connectToChannel
(channel: VoiceBasedChannel)
bot/src/utils/AirhornAudio.ts:40
↓ 1 callers
Function
convertButtonsIntoButtonGrid
(buttonComponents: ButtonBuilder[])
bot/src/utils/InteractionUtilts.ts:3
↓ 1 callers
Function
counterQueueItemProcess
(job: CounterQueueItem, callback?: QueueWorkerCallback)
bot/src/utils/QueueHandler.ts:50
↓ 1 callers
Method
getUniqueChannels
()
website/src/stores/AirhornStatsStore.ts:82
↓ 1 callers
Method
getUniqueGuilds
()
website/src/stores/AirhornStatsStore.ts:78
↓ 1 callers
Method
getUniqueUsers
()
website/src/stores/AirhornStatsStore.ts:74
↓ 1 callers
Method
hideStatsPanel
()
website/src/stores/AirhornStatsStore.ts:60
↓ 1 callers
Function
main
()
bot/src/bot.ts:64
↓ 1 callers
Function
main
()
bot/src/web.ts:60
↓ 1 callers
Method
onResize
()
website/src/stores/ResponsiveStore.ts:12
↓ 1 callers
Function
playSound
(player: AudioPlayer, soundFileReference: string)
bot/src/utils/AirhornAudio.ts:30
↓ 1 callers
Method
playedVideo
()
website/src/stores/OAuthStore.ts:50
↓ 1 callers
Function
reapirGuildIdItemProcess
(job: ReapirGuildIdItem, callback?: QueueWorkerCallback)
bot/src/utils/QueueHandler.ts:27
↓ 1 callers
Method
receivedMessage
(event)
website/src/stores/AirhornStatsStore.ts:46
↓ 1 callers
Function
registerButton
(discordButtonCommand: DiscordButton)
bot/src/discord/listeners/InteractionCreateListener.ts:19
↓ 1 callers
Function
registerCommandsOnDiscord
(client: Client<true>)
bot/src/discord/listeners/InteractionCreateListener.ts:81
↓ 1 callers
Method
shareWithFacebook
()
website/src/stores/ShareStore.ts:6
↓ 1 callers
Method
shareWithTwitter
()
website/src/stores/ShareStore.ts:10
↓ 1 callers
Method
shouldPlayVideo
()
website/src/stores/OAuthStore.ts:55
↓ 1 callers
Method
showStatsPanel
()
website/src/stores/AirhornStatsStore.ts:55
↓ 1 callers
Method
startOAuth
()
website/src/stores/OAuthStore.ts:21
↓ 1 callers
Method
toggleStatusPanel
()
website/src/stores/AirhornStatsStore.ts:65
↓ 1 callers
Function
userQueueItemProcess
(job: UserQueueItem, callback?: QueueWorkerCallback)
bot/src/utils/QueueHandler.ts:103
Function
DISCORD_OAUTH2_ADD_URL
()
website/src/Constants.ts:8
Function
StatsPanel
({ count, uniqueUsers, uniqueGuilds, uniqueChannels, show, hasBeenShown, bottom }: StatsPanelProps)
website/src/components/StatsPanel.tsx:28
Function
StatsRow
({ icon, label, value })
website/src/components/StatsPanel.tsx:6
Function
URL_FACEBOOK
()
website/src/Constants.ts:83
Function
URL_TWITTER
()
website/src/Constants.ts:80
Function
apiEventsRouteHandler
(req: Request, res: Response)
bot/src/routes/ApiEventsRoute.ts:47
Function
checkMediaQuery
()
website/src/components/ResizableSVG.tsx:4
Function
checkToPlayVideo
()
website/src/components/Content.tsx:25
Function
componentDidMount
()
website/src/components/Layout.tsx:85
Function
componentDidMount
()
website/src/components/ResizableSVG.tsx:8
Function
componentWillMount
()
website/src/components/Content.tsx:20
Function
componentWillMount
()
website/src/components/Layout.tsx:78
Function
constructor
(commandConfiguration: RESTPostAPIApplicationCommandsJSONBody)
bot/src/discord/types/DiscordChatInputCommand.ts:6
Function
constructor
(name: string, buttonConfiguration: ButtonConfigurationOptions)
bot/src/discord/types/DiscordButton.ts:12
Method
constructor
()
bot/src/discord/buttons/PlaySoundButton.ts:7
Method
constructor
()
bot/src/discord/commands/DynamicSoundCommand.ts:16
Method
constructor
()
bot/src/discord/commands/StatsCommand.ts:6
Method
constructor
()
bot/src/discord/commands/InviteCommand.ts:5
Method
constructor
()
bot/src/discord/commands/SoundboardCommand.ts:7
Method
constructor
()
website/src/stores/AirhornStatsStore.ts:13
Method
constructor
()
website/src/stores/OAuthStore.ts:10
Method
constructor
()
website/src/stores/ResponsiveStore.ts:7
Function
end
()
website/src/actions/OAuthActions.ts:10
Function
eventHandler
(message: { id: number; event: string; data: unknown })
bot/src/routes/ApiEventsRoute.ts:53
Method
fakeData
()
website/src/stores/AirhornStatsStore.ts:22
Function
finishChangeCountAnimation
()
website/src/components/Layout.tsx:127
Function
getCenter
()
website/src/components/Content.tsx:45
Function
getInitialState
()
website/src/components/Content.tsx:13
Function
getInitialState
()
website/src/components/Layout.tsx:52
Function
getViewBox
(width: number, height: number)
website/src/components/ResizableSVG.tsx:16
Method
handle
(buttonInteraction: ButtonInteraction)
bot/src/discord/buttons/PlaySoundButton.ts:13
Method
handle
(commandInteraction: ChatInputCommandInteraction)
bot/src/discord/commands/DynamicSoundCommand.ts:30
Method
handle
(commandInteraction: ChatInputCommandInteraction)
bot/src/discord/commands/InviteCommand.ts:12
Method
handle
(commandInteraction: ChatInputCommandInteraction)
bot/src/discord/commands/SoundboardCommand.ts:21
Method
handle
({ type }: { type: string })
website/src/stores/AirhornStatsStore.ts:90
Method
handle
({ type })
website/src/stores/ShareStore.ts:18
Method
handle
({ type, addedBot }: { type: string; addedBot: boolean })
website/src/stores/OAuthStore.ts:59
Method
handle
({ type }: { type: string })
website/src/stores/ResponsiveStore.ts:20
Function
hideStatsPanel
()
website/src/actions/StatsActions.ts:10
Function
interactionCreateListener
(interaction: Interaction)
bot/src/discord/listeners/InteractionCreateListener.ts:29
Method
onMessage
({ data }: { data: string })
website/src/stores/OAuthStore.ts:30
Function
playVideo
()
website/src/components/Content.tsx:31
Function
playedVideo
()
website/src/actions/OAuthActions.ts:16
Function
readyListener
(clientObject: Client<true>)
bot/src/discord/listeners/ReadyListener.ts:5
Function
redirectedFromOAuth
(addedBot: boolean)
website/src/actions/OAuthActions.ts:22
Function
render
()
website/src/components/Content.tsx:60
Function
render
()
website/src/components/Layout.tsx:133
Function
render
()
website/src/components/Footer.tsx:9
Function
render
()
website/src/components/islands/IslandTent.tsx:7
Function
render
()
website/src/components/islands/IslandTree.tsx:7
Function
resize
()
website/src/actions/ResponsiveActions.ts:4
Function
resized
()
website/src/components/Layout.tsx:90
Function
setSize
()
website/src/components/Content.tsx:39
Function
shardDisconnectListener
(_closeEvent: CloseEvent, shardId: number)
bot/src/discord/listeners/ShardListener.ts:12
Function
shardReadyListener
(shardId: number)
bot/src/discord/listeners/ShardListener.ts:4
Function
shardReconnectingListener
(shardId: number)
bot/src/discord/listeners/ShardListener.ts:16
Function
shardResumeListener
(shardId: number)
bot/src/discord/listeners/ShardListener.ts:8
Function
showStatsPanel
()
website/src/actions/StatsActions.ts:4
next →
1–100 of 106, ranked by callers