Add server chat slash commands for me and uptime
This commit is contained in:
@@ -238,6 +238,7 @@ const SYSTEM_SOUND_URLS = {
|
||||
logout: withBase('sounds/logout.ogg'),
|
||||
notify: withBase('sounds/notify.ogg'),
|
||||
} as const;
|
||||
const ACTION_SOUND_URL = SYSTEM_SOUND_URLS.notify;
|
||||
const FOOTSTEP_SOUND_URLS = Array.from({ length: 11 }, (_, index) => withBase(`sounds/step-${index + 1}.ogg`));
|
||||
const FOOTSTEP_GAIN = 0.7;
|
||||
const TELEPORT_START_SOUND_URL = withBase('sounds/teleport_start.ogg');
|
||||
@@ -1820,6 +1821,7 @@ const onAppMessage = createOnMessageHandler({
|
||||
getAudioLayers: () => audioLayers,
|
||||
pushChatMessage,
|
||||
classifySystemMessageSound,
|
||||
ACTION_SOUND_URL,
|
||||
SYSTEM_SOUND_URLS,
|
||||
playSample: (url, gain = 1) => {
|
||||
void audio.playSample(url, gain);
|
||||
|
||||
Reference in New Issue
Block a user