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 deletePins = args["delete-pins"] != null ? args["delete-pins"] : false;
|
||||
let pins = [];
|
||||
let pins: Message[] = [];
|
||||
if (!deletePins) {
|
||||
pins = await msg.channel.getPins();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue