3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00
This commit is contained in:
Dragory 2020-12-13 15:28:00 +02:00
parent 4dfc7ccfa9
commit 32fd04f9a2
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -98,7 +98,7 @@ export const CleanCmd = utilityCmd({
const timeCutoff = msg.timestamp - MAX_CLEAN_TIME;
const deletePins = args["delete-pins"] != null ? args["delete-pins"] : false;
let pins = [];
let pins: Message[] = [];
if (!deletePins) {
pins = await msg.channel.getPins();
}