mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-15 05:36:54 +00:00
Added error reporting functionality, fixed bugs in the various game's code and tidied up a bit
This commit is contained in:
@@ -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 { resolveComplaint } = require('./dev only/submitcomplaint.js');
|
||||
// const { RSSInteractionHandler } = require('./premium/rssFeed.js');
|
||||
|
||||
|
||||
@@ -70,6 +71,8 @@ async function handle_interaction(interaction, mongouri, turnManager, bot, STATE
|
||||
pause_start_stop(interaction, bot);
|
||||
}
|
||||
|
||||
} else if (interaction.customId == 'DEBUGURGENT' || interaction.customId == 'DEBUGDONE') {
|
||||
resolveComplaint(interaction);
|
||||
} //Button else ifs here
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user