- # - - - - new Activity(ActivityInfo) - - -
- - - - -Parameters:
- -| Name | - - -Type | - - - - - -Description | -
|---|---|---|
ActivityInfo |
-
-
- - - -ActivityInfo - - - - | - - - - - -- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 41 - -
- -Members
-- # - - - adminConsole - - -
- - - - --
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 99 - -
- -- # - - - botGuild - - -
- - - - --
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 110 - -
- -- # - - - guild - - -
- - - - --
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 87 - -
- -- # - - - name - - -
- - - - --
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 81 - -
- -- # - - - room - - -
- - - - --
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 93 - -
- -Methods
-- # - - - async - - static - - - - - promptForRoleParticipants(channel, userId, isStaffAutoopt) → {Promise.<Collection.<String, Role>>} - - -
- - - - -Parameters:
- -| Name | - - -Type | - - -Attributes | - - - -Default | - - -Description | -
|---|---|---|---|---|
channel |
-
-
- - - -TextChannel - - - - | - - -- - - - - - | - - - -- - | - - -the channel to prompt in | -
userId |
-
-
- - - -String - - - - | - - -- - - - - - | - - - -- - | - - -the user id to prompt | -
isStaffAuto |
-
-
- - - -Boolean - - - - | - - -
-
- <optional> - - - - - - |
-
-
-
- - - false - - | - - -true if staff are added automatically | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 52 - -
- -- # - - - async - - - - - addChannel(channel, userId) - - -
- - - - -Parameters:
- -| Name | - - -Type | - - - - - -Description | -
|---|---|---|
channel |
-
-
- - - -TextChannel - - - - | - - - - - -channel to prompt user for specified voice channel | -
userId |
-
-
- - - -String - - - - | - - - - - -user to prompt for specified voice channel | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 213 - -
- -- # - - - protected - - - - - addDefaultFeatures() - - -
- - - - --
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 137 - -
- -- # - - - async - - - - - archive(archiveCategory) - - -
- - - - -Parameters:
- -| Name | - - -Type | - - - - - -Description | -
|---|---|---|
archiveCategory |
-
-
- - - -CategoryChannel - - - - | - - - - - -the category where the general text channel will be moved to | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 267 - -
- -- # - - - async - - - - - delete() - - -
- - - - --
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 279 - -
- -- # - - - async - - - - - distributeStamp(channel, userId) - - -
- - - - -Parameters:
- -| Name | - - -Type | - - - - - -Description | -
|---|---|---|
channel |
-
-
- - - -TextChannel - - - - | - - - - - -channel to prompt user for specified voice channel | -
userId |
-
-
- - - -String - - - - | - - - - - -user to prompt for specified voice channel | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 369 - -
- -- # - - - async - - - - - init() → {Promise.<Activity>} - - -
- - - - --
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 121 - -
- -- # - - - async - - - - - removeChannel(channel, userId) - - -
- - - - -Parameters:
- -| Name | - - -Type | - - - - - -Description | -
|---|---|---|
channel |
-
-
- - - -TextChannel - - - - | - - - - - -channel to prompt user for specified voice channel | -
userId |
-
-
- - - -String - - - - | - - - - - -user to prompt for specified voice channel | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 243 - -
- -- # - - - async - - - - - roleShuffle(channel, userId) - - -
- - - - -Parameters:
- -| Name | - - -Type | - - - - - -Description | -
|---|---|---|
channel |
-
-
- - - -TextChannel - - - - | - - - - - -channel to prompt user for specified voice channel | -
userId |
-
-
- - - -String - - - - | - - - - - -user to prompt for specified voice channel | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 354 - -
- -- # - - - async - - - - - ruleValidation(channel, userId) - - -
- - - - -Parameters:
- -| Name | - - -Type | - - - - - -Description | -
|---|---|---|
channel |
-
-
- - - -TextChannel - - - - | - - - - - -channel to prompt user for specified voice channel | -
userId |
-
-
- - - -String - - - - | - - - - - -user to prompt for specified voice channel | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 424 - -
- -- # - - - async - - - - - voiceCallBack(channel, userId) - - -
- - - - -Parameters:
- -| Name | - - -Type | - - - - - -Description | -
|---|---|---|
channel |
-
-
- - - -TextChannel - - - - | - - - - - -channel to prompt user for specified voice channel | -
userId |
-
-
- - - -String - - - - | - - - - - -user to prompt for specified voice channel | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- View Source - - classes/activities/activity.js, line 292 - -
- -