Modifications to commands system, begun work on proper video module

This commit is contained in:
Lewis Dale committed 2017-02-08 19:31:23 +00:00
1 parent c76f8e27a7
commit d4cd674d7a
3 files changed
+14 -11

No files matched your search

+3 -2
View File
@@ -11,14 +11,15 @@ class Video extends JanetModule {
super({
name: 'Video',
showInHelp: true,
command: 'play',
command: 'video',
methods: ['pm', 'message']
}, client)
}
respond(evt, data) {
let msg = nlp(data.text)
console.log(msg)
console.log(msg.match('" * "'))
}
}