UserController

UserController

Controller for Users

Constructor

new UserController()

Source:

Extends

  • Map

Methods

fetchGuildMembers(guild)

Source:

Fetches an array of GuildMembers belonging to a Guild

Parameters:
Name Type Description
guild external:Guild

discord.js Guild

init(config)

Source:

Initializes a new UserController

Parameters:
Name Type Description
config Object

configuration object

Properties
Name Type Description
server Esdi

Esdi server instance

start()

Source:

Starts the UserController

Listens to Events:

stop()

Source:

Stops the GuildController

Listens to Events: