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 { Guild, MessageReaction, Role, User } from "discord.js";
|
||||||
import { ExtendedClient } from "../structures/client";
|
|
||||||
import { GuildMember } from "discord.js";
|
import { GuildMember } from "discord.js";
|
||||||
import { logger } from "../logger";
|
import { logger } from "../logger";
|
||||||
import { config } from "../configuration";
|
import { config } from "../configuration";
|
||||||
@ -7,7 +6,7 @@ import { Maybe } from "../interfaces";
|
|||||||
|
|
||||||
export default class RoleController {
|
export default class RoleController {
|
||||||
|
|
||||||
constructor(private client: ExtendedClient) { }
|
constructor() { }
|
||||||
private getAnnounceRoleIdForGuild(guildId: string): string {
|
private getAnnounceRoleIdForGuild(guildId: string): string {
|
||||||
const role = config.bot.announcement_role
|
const role = config.bot.announcement_role
|
||||||
if (!role) throw new Error(`No announcementRole defined for guild ${guildId}`)
|
if (!role) throw new Error(`No announcementRole defined for guild ${guildId}`)
|
||||||
|
Loading…
Reference in New Issue
Block a user