/host¶
/host add¶
Adds someone to the host form manually.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
host_form_message |
Transform[str, MessageTransformer]
|
An ID or link to the host form you'd like to add someone to. |
required |
name |
str
|
The name of the user you'd like to add to the form. |
required |
role_name |
str
|
The name of the role you'd like to assign to the user (case sensitive) |
required |
/host remove¶
Removes someone from a host form manually.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
host_form_message |
Transform[str, MessageTransformer]
|
An ID or link to the host form you'd like to remove someone from. |
required |
name |
str
|
The name of the user you want to remove from the form. |
required |
role_name |
str
|
The name of the role you want the user to be removed from. (case sensitive) |
required |
/host list¶
/host group¶
Creates a host form for a given activity.
Users can click buttons to sign up for roles for an activity.
Once the group is completed, a Notify Players
button can be clicked to display an overview of who signed up for which role, while mentioning the users who signed up.
When the roles_to_mention
option is used, the roles will be pinged by the bot as long as the roles are mentionable by everyone or the user has the permissions to ping everyone.
If this option is used and the thread
option is also used, the ping will occur inside of the thread.
Note
To create a thread, the user running the command and the bot will both need to have permission to create public threads in the current channel.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
activity_type |
str
|
The type of activity you'd like to host a group for, usually a game. Eg: |
required |
activity_name |
str
|
The name of the activity you'd like to host. |
required |
description |
str
|
A description for the activity, this will be posted in the embed. Defaults to None. |
None
|
required_roles |
Transform[str, RoleTransformer]
|
The roles required to sign up for this host form. Defaults to None. |
None
|
date |
Transform[str, DateHoursMinutesTransformer]
|
A date for the host form: YYYY-MM-DD HH:MM. Defaults to None. |
None
|
fill |
int
|
Whether the |
0
|
reserve |
int
|
Whether the |
0
|
learner |
int
|
Whether the |
0
|
total_maximum |
int
|
Override the maximum amount of players that can sign up. Defaults to not overriding it. |
None
|
thread |
int
|
Whether a thread should be created for this form or not. Defaults to not creating a thread. (Requires permission to create public threads in the current channel) |
0
|
roles_to_mention |
Transform[str, RoleTransformer]
|
Optionally which roles should be mentioned, if a thread is enabled the roles will be mentioned inside of the thread |
None
|
all_roles_are_combineable |
int
|
whether you would like all of the roles on the form to be combineable or not. Defaults to the usual role limitations. |
0
|