mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +00:00
Update to new Knub 30 beta. Code clean-up.
This commit is contained in:
parent
a0bc37faed
commit
d0fe2dea04
299 changed files with 1075 additions and 1004 deletions
|
@ -1,11 +1,11 @@
|
|||
import { PluginData } from "knub";
|
||||
import { GuildPluginData } from "knub";
|
||||
import { LocateUserPluginType } from "../types";
|
||||
import { resolveMember } from "src/utils";
|
||||
import { resolveMember } from "../../../utils";
|
||||
import { sendWhere } from "./sendWhere";
|
||||
import { TextableChannel } from "eris";
|
||||
import { moveMember } from "./moveMember";
|
||||
|
||||
export async function sendAlerts(pluginData: PluginData<LocateUserPluginType>, userId: string) {
|
||||
export async function sendAlerts(pluginData: GuildPluginData<LocateUserPluginType>, userId: string) {
|
||||
const triggeredAlerts = await pluginData.state.alerts.getAlertsByUserId(userId);
|
||||
const member = await resolveMember(pluginData.client, pluginData.guild, userId);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue