mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +00:00
Type fixes for djs
This commit is contained in:
parent
a99dddef7a
commit
2977363dc0
130 changed files with 8877 additions and 411 deletions
|
@ -1,4 +1,4 @@
|
|||
import { User } from "discord.js";
|
||||
import { Snowflake, User } from "discord.js";
|
||||
import { sendSuccessMessage } from "../../../pluginUtils";
|
||||
import { mutesCmd } from "../types";
|
||||
|
||||
|
@ -19,7 +19,7 @@ export const ClearBannedMutesCmd = mutesCmd({
|
|||
|
||||
let cleared = 0;
|
||||
for (const mute of activeMutes) {
|
||||
if (bannedIds.includes(mute.user_id)) {
|
||||
if (bannedIds.includes(mute.user_id as Snowflake)) {
|
||||
await pluginData.state.mutes.clear(mute.user_id);
|
||||
cleared++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue