From 93fe957c938bcb1a7080fcad8afebf362eb45105 Mon Sep 17 00:00:00 2001 From: Frumpy9 <32330391+Frumpy9@users.noreply.github.com> Date: Thu, 11 May 2023 16:51:16 -0400 Subject: [PATCH 1/2] re-added ok bot --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index a61d153..555285d 100644 --- a/index.js +++ b/index.js @@ -342,12 +342,13 @@ async function addTrash(msg, om) { bot.on("messageCreate", async (message) => { //public commands + if (message.author.bot) return; const args = message.content.slice(message.content.startsWith(prefix) ? prefix.length : 0).split(/ +/); + if(args.includes("ok")) message.react("🆗") const command = args.shift().toLowerCase(); if (!message.content.startsWith(prefix) && !message.content.startsWith("—")) return; - if (message.author.bot) return; if (command == "players" || command == "p") { // Check if gData is empty From 51dc2efdd60c4b60b4ae73509ac73cad2ddc90c1 Mon Sep 17 00:00:00 2001 From: Frumpy9 <32330391+Frumpy9@users.noreply.github.com> Date: Thu, 11 May 2023 16:52:11 -0400 Subject: [PATCH 2/2] bumpers --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 42b658e..c66df75 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discordcsgoserverbot", - "version": "6.9.0", + "version": "6.9.5", "description": "Server info bot", "main": "index.js", "scripts": {