Skip to content

Instantly share code, notes, and snippets.

@missnora07
Last active August 28, 2022 11:59
Show Gist options
  • Save missnora07/5875a56f75dbbcf7045245c7e99320ae to your computer and use it in GitHub Desktop.
Save missnora07/5875a56f75dbbcf7045245c7e99320ae to your computer and use it in GitHub Desktop.
const {Module} = require('../main')
const {skbuffer} = require('raganork-bot');
const {MODE} = require('../config');
let auto = MODE == 'public' ? false : true
//================================================
// Exit from a process
// ===============================================
Module({
pattern: 'exit ?(.*)',
fromMe: auto,
desc: 'Sends text',
use: 'utility',
}, async (m) => {
process.exit(0);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment