adjust time before delete

This commit is contained in:
Loic Bersier 2018-12-30 05:37:22 +01:00
parent a4e403ff6e
commit 092fdb834d
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ class IdubbbzCommand extends Command {
image = Attachment[0].url image = Attachment[0].url
message.channel.send('Processing <a:loadingmin:527579785212329984>') message.channel.send('Processing <a:loadingmin:527579785212329984>')
.then(loadingmsg => loadingmsg.delete(1000)) .then(loadingmsg => loadingmsg.delete(2000))
const canvas = createCanvas(1281, 627) const canvas = createCanvas(1281, 627)
const applyText = (canvas, text) => { const applyText = (canvas, text) => {

View file

@ -33,7 +33,7 @@ class IdubbbzPaintCommand extends Command {
image = Attachment[0].url image = Attachment[0].url
message.channel.send('Processing <a:loadingmin:527579785212329984>') message.channel.send('Processing <a:loadingmin:527579785212329984>')
.then(loadingmsg => loadingmsg.delete(1000)) .then(loadingmsg => loadingmsg.delete(2000))
const canvas = createCanvas(1024, 544) const canvas = createCanvas(1024, 544)
const applyText = (canvas, text) => { const applyText = (canvas, text) => {