Skip to content

Operation Commands.

Maskonk edited this page Nov 2, 2020 · 7 revisions

All of the commands spefic to Operations. Command names are in bold and parameters enclosed in <>. Optional parameters are enclosed in square brackets []. Some commands are restricted to admins and the operations creator.


List all operations for the server

-list_all_operations
Aliases: ops, operations, list Description:
Displays a list of all operations currently stored for the server and their id.

Example:

-list

Show a spefic operations details

-list_operation <operation_number>
Aliases: op, operation, show Parameters:

  • operation_number: The id number of the operation to list. Description:
    Displays the details for the spefic operation.

Example:

-show 1

Create a new operation

-new_operation <operation_code> <difficulty_code>
Aliases: new, new_op, create, c Parameters:

  • operation_code: The 2-3 letter code for the operations. See next page for all codes.
  • difficulty_code: The two letter difficulty codes for the operation. See next page for all codes.
  • side: The side the operation is to take place. Rep or Imp. Also accepts variants such as r, i, Republic, Imperial.
  • size: The size of the operation. The valid sizes are 4, 8, 16, 24.
  • date: The date of the operation.
  • Time: The time in CEST that the operation will take place.
    Description:
    Creates a new operation with the given parameters then attempts to pin the message to the channel. Inputs are validated against the accepted code lists and date and time inputs are checks to make sure the date has not passed. An operation id is automaticly generated for the operation and is used as a key for sign ups.

Example:

-new TFB MM 8 22/10/20 19:30

Sign up to an operation

-sign_up <operation_number> <main_role> [alt_role]
Aliases: sign, join Parameters:

  • operation_number: The id number of the operation to join.
  • main_role: Main role to be signed up as. Valid roles are Tank, DPS or Healer. Also accepts shorthand such as t, d, h.
  • alt_role: Optional alternative role to be signed up as. Also accepts short hand such as t, d, h. Description:
    Signs up to a given operation with the given roles. Running this command, a second time with different roles will update the original sign up with the new roles.

Example:

-sign 1 Tank DPS

Remove own sign up from operation

-unsign_up <operation_number> Aliases: unsign, quit Parameters:

  • operation_number: The id number of the operation to join. Description:
    Removes the sign up from the given operation.

Example:

-quit 1

Update an operation (Restricted)

-update_operation <operation_number> <new_value> Aliases: update Parameters:

  • operation_number: The id number of the operation to update.
  • attribute: The attribute of the operation to update. Valid attributes are: operation, difficulty, size, date and time.
  • new_value: The new value to be updated. Must be a valid replacement following the same validation as in the operations creation. Description:
    Updates the operations attribute with the new value. Usage is restricted to the creator of the operation or an Admin.

Examples:

-update 1 operation tos
-update 1 date 27/10/20

Delete an operation (Restricted)

-delete_operation <operation_number> Aliases: delete Parameters:

  • operation_number: The id number of the operation to be deleted. Description:
    Deletes the given operation. Does not delete the discord message just the operations from the bot. Usage is restricted to the creator of the operation or an Admin.

Example:

-delete 1

Sign someone else up. (Restricted)

-add_sign_up <operation_number> <main_role> [alt_role]
Aliases: add Parameters:

  • operation_number: The id number of the operation for the sign up to be added to.
  • name: Name of the person to be added, should match their discord server name.
  • main_role: The main role of the person being signed up.
  • alt_role: Optional alternative role of the person being signed up. Description:
    Adds a name to the sign ups. Usage is restricted to the creator of the operation or an Admin.

Example:

-add 1 Maskonk Tank DPS

Remove someone elses sign up. (Restricted)

-remove_sign_up <operation_number> Aliases: remove Parameters:

  • operation_number: The id number of the operation for the sign up to be added to.
  • name: Name of the person to be removed, should match their discord server name. Description:
    Removes a name to the sign ups. Usage is restricted to the creator of the operation or an Admin.

Example:

-remove 1 Maskonk