attempted to streamline by breaking functions into separate source
This commit is contained in:
1 parent
83c204670d
commit
2c596fe23f
4 files changed
+29
-26
No files matched your search
@@ -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