mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
Type fix
This commit is contained in:
parent
4dfc7ccfa9
commit
32fd04f9a2
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue