refactor: convert /backend to ESM
This commit is contained in:
parent
31d74c05aa
commit
5772e27cda
766 changed files with 3473 additions and 3500 deletions
|
@ -1,6 +1,6 @@
|
|||
import { GuildPluginData } from "knub";
|
||||
import { RoleManagerPluginType } from "../types";
|
||||
import { runRoleAssignmentLoop } from "./runRoleAssignmentLoop";
|
||||
import { RoleManagerPluginType } from "../types.js";
|
||||
import { runRoleAssignmentLoop } from "./runRoleAssignmentLoop.js";
|
||||
|
||||
export async function addRole(pluginData: GuildPluginData<RoleManagerPluginType>, userId: string, roleId: string) {
|
||||
await pluginData.state.roleQueue.addQueueItem(userId, roleId, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue