From fb7e2d4c4a8599d35841d7ce789558b94a079a2d Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Sat, 4 Jan 2020 15:13:12 +0100 Subject: [PATCH] new mod --- config.js | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 config.js diff --git a/config.js b/config.js new file mode 100644 index 0000000..3488270 --- /dev/null +++ b/config.js @@ -0,0 +1,47 @@ +const fs = require('fs'); + +const Markup = require('telegraf/markup'); +const Extra = require('telegraf/extra'); + +//=== TOOL FUNCTIONS + + +//=== MAIN MODULE CONFIG + +module.exports = function(){ + + return { + name : "ChromosomalCount", + key : 'chrmsm', + version : 0.1, + requirements : { + gps: false, + }, + text : [ + { + trigger : ['/chromosome'], + public : true, + desc : {0:"Find species", + 1:"Trouve l'espece", + }, + requirements : (bot,event,message)=>{ + return new Promise((resolve, reject)=>{ + return resolve(200); + }); + }, + action : (bot,event,message)=>{ + const cnt = parseInt(message.arg); + } + }, + ], + reply : [], + regex : [], + media : [], + callback : [], + inline : [], + new_member : (bot,event)=>{}, + weburl : [], + cron : [] +} + +} \ No newline at end of file