Setup

Commands inside of the setup cog

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 [code] ...

Sets up a student's account on the server and displays the result of the setup (if it was successful or not).

Arguments

code is a unique numerical class code sent via email that represents the class the student is enrolled in (note: you can enter one or more codes separated by spaces). Students only need to enter code(s) if there is another student with the same name as them - Enoch will notify them if this happens.

Checks

This command can only be invoked...

- in the #commands channel

- in the C4T Classes 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.

Examples +setup student

+setup student 1111

+setup student 2111 3111

Do NOT do this: +setup student @1111

setup parent

+setup parent [code] ...

Sets up a parent's account on the server and displays the result of the setup (if it was successful or not).

Arguments

code is a unique numerical class code sent via email that represents the class the parent's child is enrolled in (note: you can enter one or more codes separated by spaces). codes is optional. You won't have to input it unless Enoch tells you to.

Checks

This command can only be invoked...

- in the #commands channel

- in the C4T Classes 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.

Examples +setup parent

+setup parent 1111

+setup parent 2111 3111

Do NOT do this: +setup parent @1111

setup teacher

+setup teacher [code] ...

Sets up a teacher's account on the server and displays the result of the setup (if it was successful or not).

Arguments

code is a unique numerical class code that represents the class the teacher is teaching (note: you can enter one or more codes separated by spaces). codes is optional. You won't have to input it unless Enoch tells you to.

Checks

This command can only be invoked...

- in the #commands channel

- in the C4T Classes 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.

Examples +setup teacher

+setup teacher 1111

+setup teacher 2111 3111

Do NOT do this: +setup teacher @1111

setup member

+setup member <dept>

Sets up a C4T member on the Code 4 Tomorrow server by adding the member's primary department role

Arguments

dept is the C4T member's primary department

Valid Department Names (case insensitive)

outreach

internal affairs

classes

coco

Checks

This subcommand can only be used on the Code 4 Tomorrow server

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] ...

Creates or updates a private text channel and cosmetic role 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.)

<em></em>

Arguments

codes - the class code(s) that you want to make channels and roles for

Examples

+classup

+classup 11111

+classup 11111 11112 22231

<b></b>

Checks

Only users with administrator permissions can use this command.

<em></em>

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.

If a class role already exists, its permissions will be cleared to ensure that it is a cosmetic role.

classdown

+classdown [codes] ...

Deletes the corresponding text channel and cosmetic role for each valid class code.

Also deletes empty categories left after removing the text channels. Also exchanges the roles "Student" with "Alumnus" and "Teacher" with "Former Teacher" from users.

<em></em>

Arguments

codes - the class code(s) that you want to remove channels and roles for

<em></em>

Examples

+classdown

+classdown 11111

+classdown 11111 11112 22231

<em></em>

Checks

Only users with administrator permissions can use this command.

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 and cosmetic role for each valid class code.

If no codes are given, voice channels and cosmetic roles 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. (For example, it will create a Java Beginner category if there are Java Beginner class codes.)

<em></em>

Arguments

codes - the class code(s) that you want to make channels and roles for

<em></em>

Examples

+voiceup

+voiceup 11111

+voiceup 11111 11112 22231

<em></em>

Checks

Only users with administrator permissions can use this command.

<em></em>

Note

If a class voice channel already exists, it will be edited so it has the correct category and permissions.

If a class role already exists, its permissions will be cleared to ensure that it is a cosmetic role.

voicedown

+voicedown [codes] ...

Deletes the corresponding voice channel for each valid class code.

<em></em>

Arguments

codes - the class code(s) that you want to remove channels and roles for

<em></em>

Examples

+voicedown

+voicedown 11111

+voicedown 11111 11112 22231

<em></em>

Checks

Only users with administrator permissions can use this command.

Last updated