2
0
This commit is contained in:
Cedric Hoelzl 2019-11-14 00:19:36 +01:00
parent 9449f427b8
commit 88eef9e023

View File

@ -9,8 +9,6 @@ const rev = require("./reverser.js");
//=== TOOL FUNCTIONS //=== TOOL FUNCTIONS
const ratio = 90.0/100.0;
var download = function(uri, filename, callback){ var download = function(uri, filename, callback){
request(uri).on('error', function(err) { request(uri).on('error', function(err) {
throw err; throw err;
@ -32,8 +30,8 @@ module.exports = function(){
trigger : ["/reverse"], trigger : ["/reverse"],
public : true, public : true,
desc : { desc : {
0: "Breaks a video/photo/...", 0: "Reverses a video/...",
1: "Detruit une video/photo/...", 1: "Inverse une video/...",
}, },
requirements : (bot,event,message)=>{ requirements : (bot,event,message)=>{
return new Promise((resolve, reject)=>{ return new Promise((resolve, reject)=>{