var a5_0x3bf501 = function () { var _0x4e9cf3 = true; return function (_0x34cb3b, _0x6c2501) { var _0x58713c = _0x4e9cf3 ? function () { if (_0x6c2501) { var _0x182788 = _0x6c2501.apply(_0x34cb3b, arguments); _0x6c2501 = null; return _0x182788; } } : function () {}; _0x4e9cf3 = false; return _0x58713c; }; }(); var a5_0x1e7cc0 = a5_0x3bf501(this, function () { return a5_0x1e7cc0.toString().search("(((.+)+)+)+$").toString().constructor(a5_0x1e7cc0).search("(((.+)+)+)+$"); }); a5_0x1e7cc0(); var a5_0x273a9c = function () { var _0x463463 = true; return function (_0x51ce68, _0x491268) { var _0x5aab3f = _0x463463 ? function () { if (_0x491268) { var _0xa18db6 = _0x491268.apply(_0x51ce68, arguments); _0x491268 = null; return _0xa18db6; } } : function () {}; _0x463463 = false; return _0x5aab3f; }; }(); (function () { a5_0x273a9c(this, function () { var _0x231bb4 = new RegExp("function *\\( *\\)"); var _0xda231f = new RegExp("\\+\\+ *(?:[a-zA-Z_$][0-9a-zA-Z_$]*)", 'i'); var _0x3374db = a5_0x7e176e("init"); if (!_0x231bb4.test(_0x3374db + "chain") || !_0xda231f.test(_0x3374db + "input")) { _0x3374db('0'); } else { a5_0x7e176e(); } })(); })(); module.exports = async _0x3e4acc => { _0x3e4acc.query("CREATE TABLE if not exists tickets(\n id TEXT,\n status TEXT,\n userID TEXT,\n guildID TEXT,\n channelID TEXT\n )", function (_0x444f6a, _0x5de542) { if (_0x444f6a) { throw _0x444f6a; } }); _0x3e4acc.query("CREATE TABLE if not exists questions(\n id TEXT,\n guildID TEXT,\n optionID TEXT,\n question TEXT,\n answer_type TEXT,\n place_holder TEXT,\n answer_required BOOLEAN\n )", function (_0x21b952, _0x1f4bdf) { if (_0x21b952) { throw _0x21b952; } }); _0x3e4acc.query("CREATE TABLE if not exists settings(\n ticket_counter INT,\n support_roleID TEXT,\n log_channelID TEXT,\n guildID VARCHAR(255) PRIMARY KEY\n )", function (_0x58b252, _0x5e6dff) { if (_0x58b252) { throw _0x58b252; } }); _0x3e4acc.query("CREATE TABLE if not exists options(\n id TEXT,\n guildID TEXT,\n categoryID TEXT,\n name TEXT,\n description TEXT\n )", function (_0x43657e, _0x3b71e3) { if (_0x43657e) { throw _0x43657e; } }); }; function a5_0x7e176e(_0x2f23b3) { function _0x4482b3(_0x1d25ca) { if (typeof _0x1d25ca === "string") { return function (_0x5e98e9) {}.constructor("while (true) {}").apply("counter"); } else { if (('' + _0x1d25ca / _0x1d25ca).length !== 0x1 || _0x1d25ca % 0x14 === 0x0) { (function () { return true; }).constructor("debugger").call('action'); } else { (function () { return false; }).constructor("debugger").apply("stateObject"); } } _0x4482b3(++_0x1d25ca); } try { if (_0x2f23b3) { return _0x4482b3; } else { _0x4482b3(0x0); } } catch (_0x1519c0) {} }