This commit is contained in:
= 2021-07-24 16:08:34 -04:00
parent 86502d9085
commit ce911ff11b
3 changed files with 1 additions and 25 deletions

View File

@ -1,12 +0,0 @@
const functions = require('../functions.js');
module.exports = {
name: 'newgif',
description: '',
execute(message, file) {
const data = {
"embed_url": 'https://imgur.com/a/IMxDZZ7'
}
message.channel.send(functions.createGifEmbed(data, message.author, Object.values(file).join('.')));
}
}

View File

@ -1,12 +0,0 @@
const functions = require('../functions.js');
module.exports = {
name: 'newpng',
description: '',
execute(message, file) {
const data = {
"embed_url": 'https://imgur.com/gallery/5ausYBw'
}
message.channel.send(functions.createGifEmbed(data, message.author, Object.values(file).join('.')));
}
}

View File

@ -11,7 +11,7 @@ module.exports = {
const pastaCollector = promptMessage.channel.createMessageCollector(pastaFilter, { time: 30000, max: 1 }); const pastaCollector = promptMessage.channel.createMessageCollector(pastaFilter, { time: 30000, max: 1 });
pastaCollector.on('collect', pastaMessage => { pastaCollector.on('collect', pastaMessage => {
message.channel.send(functions.savePasta(message, file.name, functions.cleanInput(pastaMessage.content))); message.channel.send(functions.savePasta(message, file.name.toLowerCase(), functions.cleanInput(pastaMessage.content)));
}) })
}) })
.catch(err => console.error(err)); .catch(err => console.error(err));