mirror of
https://github.com/ION606/selmerBot.git
synced 2026-06-05 23:06:14 +00:00
Added the chat AI feature (limited) and added Stripe payment integration
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const { convoManager } = require('./API/chat.js');
|
||||
const { handleInp } = require('./API/stripe');
|
||||
const { MongoClient, ServerApiVersion, ConnectionClosedEvent } = require('mongodb');
|
||||
|
||||
function handle_dm(message, bot) {
|
||||
@@ -24,6 +25,8 @@ function handle_dm(message, bot) {
|
||||
});
|
||||
|
||||
client.close();
|
||||
} else if (message.content.indexOf('!premium') != -1) {
|
||||
handleInp(bot, message);
|
||||
} else {
|
||||
return message.reply('UNUSABLE DM COMMAND DETECTED');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user