remove unused client
This commit is contained in:
parent
417b24d408
commit
1ae8278fb8
@ -1,5 +1,4 @@
|
||||
import { Guild, MessageReaction, Role, User } from "discord.js";
|
||||
import { ExtendedClient } from "../structures/client";
|
||||
import { GuildMember } from "discord.js";
|
||||
import { logger } from "../logger";
|
||||
import { config } from "../configuration";
|
||||
@ -7,7 +6,7 @@ import { Maybe } from "../interfaces";
|
||||
|
||||
export default class RoleController {
|
||||
|
||||
constructor(private client: ExtendedClient) { }
|
||||
constructor() { }
|
||||
private getAnnounceRoleIdForGuild(guildId: string): string {
|
||||
const role = config.bot.announcement_role
|
||||
if (!role) throw new Error(`No announcementRole defined for guild ${guildId}`)
|
||||
|
Loading…
Reference in New Issue
Block a user