cleanup
This commit is contained in:
parent
86502d9085
commit
ce911ff11b
@ -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('.')));
|
||||
}
|
||||
}
|
@ -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('.')));
|
||||
}
|
||||
}
|
@ -11,7 +11,7 @@ module.exports = {
|
||||
const pastaCollector = promptMessage.channel.createMessageCollector(pastaFilter, { time: 30000, max: 1 });
|
||||
|
||||
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));
|
||||
|
Loading…
Reference in New Issue
Block a user