add a minimal vote controller
This commit is contained in:
		@@ -11,6 +11,7 @@ import { CommandType } from "../types/commandTypes";
 | 
			
		||||
import { isInitialAnnouncement } from "../helper/messageIdentifiers";
 | 
			
		||||
import VoteController from "../helper/vote.controller";
 | 
			
		||||
import { yavinJellyfinHandler } from "../..";
 | 
			
		||||
import RoleController from "../helper/role.controller";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -19,6 +20,7 @@ export class ExtendedClient extends Client {
 | 
			
		||||
	private commandFilePath = `${__dirname}/../commands`
 | 
			
		||||
	private jellyfin: JellyfinHandler
 | 
			
		||||
	public voteController: VoteController = new VoteController(this, yavinJellyfinHandler)
 | 
			
		||||
	public roleController: RoleController = new RoleController(this)
 | 
			
		||||
	public commands: Collection<string, CommandType> = new Collection()
 | 
			
		||||
	private announcementChannels: Collection<string, TextChannel> = new Collection() //guildId to TextChannel
 | 
			
		||||
	private announcementRoleHandlerTask: Collection<string, ScheduledTask> = new Collection() //one task per guild
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user