delete error messages after a few seconds
This commit is contained in:
parent
9829b2bf9b
commit
3367443e32
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue