ðSetup
Commands inside of the setup cog
Last updated
Commands inside of the setup cog
Last updated
Command
Usage
Description
setup name
+setup name <name>
Changes a user's nickname on the server to their full name.
Arguments
name
is the name the user used to sign up for C4T programs.
For students, this should be the student's name.
For parents, this should be the parent's name.
For volunteers, this should be the volunteer's name.
Examples
+setup name Jane Doe
Do NOT do this: +setup Jane Doe
IMPORTANT
This name must match the name you signed up with in order for the setup subcommands to work.
This command will automatically remove <, >, [, or ] characters from the given display name.
setup student
+setup student
Sets up a C4T student on the Code 4 Tomorrow server by adding the student's necessary permissions.
Checks
This command can only be invoked...
- in the #commands channel
Important
Before using this command, you must use +setup name <name>
to set your display name to the name you signed up with. This must match EXACTLY in order for the verification process to work.
Note
The user who invoked the command must confirm their identity within 60 seconds, or the operation will be canceled.
setup parent
+setup parent
Sets up a C4T parent on the Code 4 Tomorrow server by adding the parent's necessary permissions.
Checks
This command can only be invoked...
- in the #commands channel
Important
Before using this command, you must use +setup name <name>
to set your display name to the name you signed up with. This must match EXACTLY in order for the verification process to work.
Note
The user who invoked the command must confirm their identity within 60 seconds, or the operation will be canceled.
setup teacher
+setup teacher
Sets up a C4T teacher on the Code 4 Tomorrow server by adding the teacher's necessary permissions.
Checks
This command can only be invoked...
- in the #commands channel
Important
Before using this command, you must use +setup name <name>
to set your display name to the name you signed up with. This must match EXACTLY in order for the verification process to work.
Note
The user who invoked the command must confirm their identity within 60 seconds, or the operation will be canceled.
setup member
+setup member
Sets up a C4T member on the Code 4 Tomorrow server by adding the member's department and project roles.
Checks
This command can only be invoked...
- in the #commands channel
Important
Before using this command, you must use +setup name <name>
to set your display name to the name you signed up with. This must match EXACTLY in order for the verification process to work.
Note
The user who invoked the command must confirm their identity within 60 seconds, or the operation will be canceled.
setup addproj
+setup addproj <project>
Adds a project role to the user
Arguments
project
is a C4T member's project group
Valid Project Names (case insensitive)
partnerships
social media, sm
website design, wd
public relations, pr
documentations, docs
volunteer management, vm
finance
java
python
web development, web dev
scratch
machine learning, ml
javascript, js
ios app development, ios app dev
curriculum expansion, curr exp
class scheduling, class sched
coco project
Checks
This subcommand can only be used on the Code 4 Tomorrow server.
The user must have at least 1 department role (see setup member
).
IMPORTANT
You must use the setup member
command to add a department role before using this command.
Aliases: add_proj, addproject, add_project
setup done
+setup done
Checks if a user is done with setup on the Code 4 Tomorrow server.
If the user is done (they have at least 1 department role and at least 1 project role), then the Unverified role is removed from the user and they are sent a setup complete DM. Otherwise, they are sent a setup fail DM.
Checks
This subcommand can only be used on the Code 4 Tomorrow server
setup ambassador
+setup ambassador
Sets up an ambassador on the C4T Community server by adding the Ambassador role to the user.
Checks
This command can only be invoked...
- in the #commands channel
- in the C4T Community server
IMPORTANT
Before using this command, you must use +setup name <name>
to set your display name to the name you signed up with. This must match EXACTLY in order for the verification process to work.
classup
+classup [codes] ...
This command is an alias for using roleup
, textup
, and voiceup
all together. For more details, see those commands' help texts.
Arguments
codes
- the class code(s) that you want to set up
Examples
+classup
+classup 11111
+classup 11111 11112 22231
Checks
Only users with administrator permissions can use this command.
classdown
+classdown [codes] ...
This command is an alias for using roledown
, textdown
, voicedown
, and convertroles
all together. For more details, see those commands' help texts.
Arguments
type
- the role you want to convert (see convertroles
). You must specify this argument.
codes
- the class code(s) that you want to shut down
Examples
+classdown both
+classdown both 11111
+classdown student 11111
+classdown teacher 11111 11112 22231
Do NOT do this
+classdown
(missing type
argument)
+classdown 11111
(missing type
argument)
+classdown 11111 both
(type
argument before codes
argument(s))
Checks
Only users with administrator permissions can use this command.
Note
The user who invoked the command must confirm this operation within 10 seconds otherwise the classdown operation will be canceled.
voiceup
+voiceup [codes] ...
Creates or updates a private voice channel for each valid class code. IMPORTANT: Make sure to use roleup
before this command to create class roles.
If no codes are given, voice channels will only be made for class codes which use Discord as a meeting location as specified on the class roster spreadsheet. (Specifically, the Meeting Location column must contain the words 'Discord Channel'.)
Also creates categories for each course and level combination if they don't already exist. (For example, it will create a Java Beginner category if there are Java Beginner class codes.)
Arguments
codes
- the class code(s) that you want to make voice channels for
Examples
+voiceup
+voiceup 11111
+voiceup 11111 11112 22231
Checks
Only users with administrator permissions can use this command.
Note
If a class voice channel already exists, it will be edited so it has the correct category and permissions.
voicedown
+voicedown [codes] ...
Deletes the corresponding voice channel for each valid class code.
This command will also delete any empty categories.
Arguments
codes
- the class code(s) that you want to remove channels and roles for
Examples
+voicedown
+voicedown 11111
+voicedown 11111 11112 22231
Checks
Only users with administrator permissions can use this command.
roleup
+roleup [codes] ...
Creates or updates cosmetic roles for each valid class code. If no class codes are given, the command will create roles for all class codes for this series.
Arguments
codes
- the class code(s) that you want to make roles for
Examples
+roleup
+roleup 11111
+roleup 11111 11112 22231
Checks
Only users with administrator permissions can use this command.
Note
If a class role already exists, its permissions will be cleared to ensure that it is a cosmetic role.
roledown
+roledown [codes] ...
Deletes cosmetic roles for each valid class code. If no class codes are given, the command will delete roles for all class codes for this series.
Arguments
codes
- the class code(s) that you want to delete roles for
Examples
+roledown
+roledown 11111
+roledown 11111 11112 22231
Checks
Only users with administrator permissions can use this command.
Note
The user who invoked the command must confirm this operation within 10 seconds otherwise the operation will be canceled.
convertroles
+convertroles [type]
Converts student or teacher roles to alumnus and former teacher, respectively.
Arguments
type
- the role that you want to change (student, teacher, or both)
Examples
+convertroles
+convertroles student
+convertroles teacher
+convertroles both
Checks
Only users with administrator permissions can use this command.
Note
The user who invoked the command must confirm this operation within 10 seconds otherwise the operation will be canceled.
textup
+textup [codes] ...
Creates or updates a private text channel for each valid class code.
Also sets the text channel topic and creates categories for each course and level combination. (For example, it will create a Java Beginner category if there are Java Beginner class codes.)
IMPORTANT: Make sure to use roleup
before this command to create class roles.
Arguments
codes
- the class code(s) that you want to make text channels for
Examples
+textup
+textup 11111
+textup 11111 11112 22231
Checks
Only users with administrator permissions can use this command.
Note
Created class text channels will be appended to their categories in ascending order. Created categories will be appended in ascending order.
If a class text channel already exists, it will be edited so it has the correct topic, category, position, and permissions.
textdown
+textdown [codes] ...
Deletes the text channel for each valid class code. Also deletes any empty categories.
Arguments
codes
- the class code(s) that you want to remove text channels for
Examples
+textdown
+textdown 11111
+textdown 11111 11112 22231
Checks
Only users with administrator permissions can use this command.
Note
The user who invoked the command must confirm this operation within 10 seconds otherwise the textdown operation will be canceled.