Modifications to commands system, begun work on proper video module
This commit is contained in:
1 parent
c76f8e27a7
commit
d4cd674d7a
3 files changed
+14
-11
No files matched your search
+3
-2
@@ -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('" * "'))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user