3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 00:35:02 +00:00
This commit is contained in:
Dragory 2020-12-13 15:28:00 +02:00
parent c774f79ae7
commit a353a9062b

View file

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