delete error messages after a few seconds

This commit is contained in:
Ryan Cao 2022-09-16 22:16:52 +08:00
parent 9829b2bf9b
commit 3367443e32
No known key found for this signature in database

View file

@ -54,6 +54,10 @@ export const modrinthCommand = async (
],
});
setTimeout(() => {
i.deleteReply();
}, 3000);
return;
}
@ -73,6 +77,10 @@ export const modrinthCommand = async (
],
});
setTimeout(() => {
i.deleteReply();
}, 3000);
return;
}