From 583a036003dbca12114b5c63a7297b1f1386bdf0 Mon Sep 17 00:00:00 2001 From: IrPgFKS0 <2511445@gmail.com> Date: Sat, 2 Sep 2023 23:02:11 -0700 Subject: [PATCH] Small syntax correction to v9.1.1 NitradoAPI.js change --- util/NitradoAPI.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/util/NitradoAPI.js b/util/NitradoAPI.js index 2689713..69602db 100644 --- a/util/NitradoAPI.js +++ b/util/NitradoAPI.js @@ -79,7 +79,7 @@ module.exports = { await new Promise(resolve => setTimeout(resolve, retryDelay)); // Delay before retrying } }, - + /* Allows more explicit function names outside this file; i.e BanPlayer() & UnbanPlayer() that both call to the @@ -88,6 +88,5 @@ module.exports = { */ BanPlayer: async (client, gamertag) => module.exports.HandlePlayerBan(client, gamertag, true), - UnbanPlayer: async (client, gamertag) => module.exports.HandlePlayerBan(client, gamertag, false), - - } \ No newline at end of file + UnbanPlayer: async (client, gamertag) => module.exports.HandlePlayerBan(client, gamertag, false) +} \ No newline at end of file