mirror of
				https://github.com/warengroup/eximiabots-radiox.git
				synced 2025-11-04 03:09:32 +00:00 
			
		
		
		
	Updated SIGINT.js
This commit is contained in:
		@@ -5,6 +5,12 @@ const { token, version } = require('../../config.js');
 | 
			
		||||
module.exports = {
 | 
			
		||||
    name: 'SIGINT',
 | 
			
		||||
    async execute(client) {
 | 
			
		||||
        client.user.setStatus('dnd');
 | 
			
		||||
 | 
			
		||||
        console.log("\n");
 | 
			
		||||
        client.funcs.logger("Bot", "Closing");
 | 
			
		||||
        console.log("\n");
 | 
			
		||||
        
 | 
			
		||||
        setTimeout(async function () {
 | 
			
		||||
            let message = {};
 | 
			
		||||
 | 
			
		||||
@@ -29,12 +35,6 @@ module.exports = {
 | 
			
		||||
                radio = currentRadios.next();
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            console.log("\n");
 | 
			
		||||
            client.funcs.logger("Bot", "Closing");
 | 
			
		||||
            console.log("\n");
 | 
			
		||||
 | 
			
		||||
            client.user.setStatus('dnd');
 | 
			
		||||
 | 
			
		||||
            const rest = new REST({ version: '9' }).setToken(token);
 | 
			
		||||
            if(version.includes("-dev")){
 | 
			
		||||
                await rest.put(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user