attempted to streamline by breaking functions into separate source
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
module.exports =
|
||||
function ping(interface, args, type){
|
||||
if (type = 'legacy'){
|
||||
// type = legacy
|
||||
interface.reply('pang!')
|
||||
} else {
|
||||
interface.reply('pong!')
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user