mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
add logs to discord rpc events
This commit is contained in:
@@ -6,6 +6,16 @@ export const logMsg = {
|
||||
pageViewTracked: 'Page view tracked',
|
||||
},
|
||||
[LogCategory.API]: {},
|
||||
[LogCategory.EXTERNAL]: {
|
||||
discordRpcActivityCleared: 'Activity was cleared for Discord RPC',
|
||||
discordRpcActivityUpdate: 'Activity was updated for Discord RPC',
|
||||
discordRpcEnabled: 'Discord RPC was enabled',
|
||||
discordRpcInitialized: 'Discord RPC was initialized',
|
||||
discordRpcQuit: 'Discord RPC was quit',
|
||||
discordRpcSetActivity: 'Activity was set for Discord RPC',
|
||||
discordRpcTrackChanged: 'Track was changed for Discord RPC',
|
||||
discordRpcUpdateSkipped: 'Activity was not updated for Discord RPC',
|
||||
},
|
||||
[LogCategory.OTHER]: {},
|
||||
[LogCategory.PLAYER]: {
|
||||
addToQueueByData: 'Added to queue by data',
|
||||
|
||||
@@ -3,6 +3,7 @@ import dayjs from 'dayjs';
|
||||
export enum LogCategory {
|
||||
ANALYTICS = 'analytics',
|
||||
API = 'api',
|
||||
EXTERNAL = 'external',
|
||||
OTHER = 'other',
|
||||
PLAYER = 'player',
|
||||
SCROBBLE = 'scrobble',
|
||||
|
||||
Reference in New Issue
Block a user