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 a channel and role for the requested code

Arguments

codes - the name(s) of the desired channel and role (the class code). Each code should be separated by a space.

Example (setting up multiple channels and roles):

+classup 11111 11112 22231

Example (setting up just one channel and role):

+classup 11111

Note: +classup will only setup class codes whose:

  • First character is in our CATEGORIES dictionary (1, 2, 3, 4, 5, or 6)

    • 1 for Java, 2 for Python, 3 for Scratch, 4 for Web Dev, 5 for Machine Learning, and 6 for Javascript

  • Second character is in our LEVELS dictionary (1, 2, or 3)

    • 1 is Beginner, 2 is Intermediate, 3 is Advanced

Last updated