Remove load function stubs
This commit is contained in:
parent
c7e3e3deba
commit
bacfdfad49
10 changed files with 0 additions and 28 deletions
|
@ -12,9 +12,6 @@ const messageTypes = [
|
|||
''
|
||||
]
|
||||
module.exports = {
|
||||
load: () => {
|
||||
|
||||
},
|
||||
loadBot: (b) => {
|
||||
b._client.on('profileless_chat', (data) => {
|
||||
if (data.type === 4) {
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
module.exports = {
|
||||
load: () => {
|
||||
|
||||
},
|
||||
loadBot: (b) => {
|
||||
b.cloops = []
|
||||
b.addCloop = function (command, rate) {
|
||||
|
|
|
@ -37,9 +37,6 @@ const sortHelp = function sortHelp (c1, c2) {
|
|||
return level1 - level2
|
||||
}
|
||||
module.exports = {
|
||||
load: () => {
|
||||
|
||||
},
|
||||
loadBot: (b) => {
|
||||
b.prefix = settings.prefix
|
||||
b.lastCmd = 0
|
||||
|
|
|
@ -2,9 +2,6 @@ const uuidToInt = require('../util/uuidtoint.js')
|
|||
module.exports = {
|
||||
cs: 4,
|
||||
cs_v: 6,
|
||||
load: function () {
|
||||
|
||||
},
|
||||
loadBot: function (b) {
|
||||
b.interval.commandFill = setInterval(() => { if (b.sc_tasks.cc) b.sc_tasks.cc.failed = 1 }, 60000)
|
||||
b.ccq = []
|
||||
|
|
|
@ -40,9 +40,6 @@ function consoleWrite (text) {
|
|||
rl.prompt(true)
|
||||
}
|
||||
module.exports = {
|
||||
load: () => {
|
||||
|
||||
},
|
||||
loadBot: (b) => {
|
||||
b.info = (msg) => {
|
||||
consoleWrite(`[${b.id}] [info] ${msg}`)
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
module.exports = {
|
||||
load: () => {
|
||||
|
||||
},
|
||||
loadBot: (b) => {
|
||||
b._client.on('login', () => {
|
||||
b.interval.chatQueue = setInterval(() => {
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
const parse = require('../util/chatparse.js')
|
||||
const parse1204 = require('../util/chatparse_1204.js')
|
||||
module.exports = {
|
||||
load: () => {
|
||||
},
|
||||
loadBot: (b) => {
|
||||
b.players = {}
|
||||
b._client.on('player_info', (data) => {
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
const index = require('../index.js')
|
||||
module.exports = {
|
||||
load: () => {
|
||||
},
|
||||
loadBot: (b) => {
|
||||
b._client.on('end', () => {
|
||||
b.info('bot ' + b.id + ' disconnected')
|
||||
|
|
|
@ -11,9 +11,6 @@ class SCTask {
|
|||
}
|
||||
}
|
||||
module.exports = {
|
||||
load: () => {
|
||||
|
||||
},
|
||||
loadBot: (b) => {
|
||||
b.sc_tasks = {}
|
||||
b.interval.sc = setInterval(() => {
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
module.exports = {
|
||||
load: () => {
|
||||
|
||||
},
|
||||
loadBot: (b) => {
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue