Mostly cleaning and added the JSON to Map to Print function

This commit is contained in:
ION606
2022-07-16 19:26:06 +03:00
parent b9c4caa608
commit 34bbd823ab
13 changed files with 737 additions and 410 deletions
+5 -4
View File
@@ -1,6 +1,7 @@
const { MongoClient, ServerApiVersion } = require('mongodb');
const { createSubscriptionManual } = require('./premium/stripe.js');
const { pause_start_stop, playNext, showQueue } = require('./misc/playAudio.js');
// const { RSSInteractionHandler } = require('./premium/rssFeed.js');
async function handle_interaction(interaction, mongouri, turnManager, bot, STATE, items, xp_collection) {
@@ -69,7 +70,7 @@ async function handle_interaction(interaction, mongouri, turnManager, bot, STATE
pause_start_stop(interaction, bot);
}
} //else ifs here
} //Button else ifs here
});
client.close();
@@ -129,9 +130,9 @@ async function handle_interaction(interaction, mongouri, turnManager, bot, STATE
//Handle the interaction here
}
}
//menu else ifs here
} /*else if (interaction.customId.indexOf('RSS') != -1) {
RSSInteractionHandler(bot, interaction);
}*/ //menu else ifs here
} //other selection types here
}