New CB
This commit is contained in:
parent
40879cf6c8
commit
16462fe46a
@ -12,9 +12,10 @@ const example_lang = require('./lang.js');
|
||||
//=== MAIN MODULE CONFIG
|
||||
|
||||
module.exports = function(){
|
||||
this.key = "tmpl";
|
||||
return {
|
||||
name : "Template", //Unique Module name
|
||||
key : "tmpl", //Unique Key for this module, if multiple instances add a number/text to it
|
||||
key : this.key, //Unique Key for this module, if multiple instances add a number/text to it
|
||||
version : 0.1, //Version Number, Currently unused
|
||||
requirements : {
|
||||
gps: false, //Currently un-used (all module have access to GPS)
|
||||
@ -61,8 +62,8 @@ module.exports = function(){
|
||||
],
|
||||
callback : [
|
||||
{
|
||||
trigger : 'key_template',
|
||||
requirements : (bot,event,message)=>{
|
||||
trigger : 'template',
|
||||
requirements : (bot,event,data)=>{
|
||||
return new Promise((resolve, reject)=>{
|
||||
return resolve(200);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user