47 lines
765 B
JavaScript
47 lines
765 B
JavaScript
|
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 : []
|
||
|
}
|
||
|
|
||
|
}
|