Added presence-changing commands to make dynamic bot moddification easier

This commit is contained in:
ION606
2022-09-30 22:21:44 -04:00
parent e1002d748d
commit b30fdc9e7f
4 changed files with 141 additions and 6 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
// // @ts-check //Disabled
// Maybe have the interaction type be "user" https://canary.discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-types
const { MongoClient, ServerApiVersion } = require('mongodb');
let ecoimport = require("../db/econ.js");
@@ -20,7 +22,7 @@ const { chooseClass, presentClasses } = require('./game_classes.js');
//Has a list of all games (used to change player state)
const allGames = ['battle', 'Tic Tac Toe'];
// const { NULL } = require('mysql/lib/protocol/constants/types');
//#region functions (NOT GAME SPECIFIC)