From 5196e2d72fddb87831d8cef6b8a56785b18ac3ae Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Wed, 5 Feb 2025 22:05:33 -0700 Subject: [PATCH] i hate github --- src/modules/misc/chatsounds.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/modules/misc/chatsounds.js b/src/modules/misc/chatsounds.js index 5b4620e..4783604 100644 --- a/src/modules/misc/chatsounds.js +++ b/src/modules/misc/chatsounds.js @@ -1,10 +1,8 @@ const Command = require("#lib/command.js"); const {default: Chatsounds, defaultModifiers} = require("sh"); -const sh = new Chatsounds(); +const sh = new Chatsounds({modifiers: defaultModifiers, gitHubToken: hf.apikeys.github}); (async () => { - sh.useModifiers(defaultModifiers); - await sh.useSourcesFromGitHubMsgPack("PAC3-Server/chatsounds-valve-games", "master", "csgo"); await sh.useSourcesFromGitHubMsgPack("PAC3-Server/chatsounds-valve-games", "master", "css"); await sh.useSourcesFromGitHubMsgPack("PAC3-Server/chatsounds-valve-games", "master", "ep1");