Skip to content
This repository was archived by the owner on Mar 3, 2022. It is now read-only.
This repository was archived by the owner on Mar 3, 2022. It is now read-only.

Game Profiles #190

@felipebulcao

Description

@felipebulcao

A Game Profile (or just Profile) is basically a new form of setting the game configuration (gamemode, rounds number, rounds duration and etc) and re-use it without needing to answer Ritsu questions everytime. In this issue, these things should be included:

  • Create a command called ritsu!profile which can receive the following arguments:
    • create: Create a new profile with a name, Ritsu will request the same process of setting the game configuration but this time, she will not start a game and instead will save this information to the profile and then save it to the database.
    • edit: Edit a profile, this receives the name and also repeat the same process of the create argument (for now)
    • delete: Delete a profile, this also receives the profile name to be deleted.
  • Make ritsu!start use the profile and applies the saved configuration if the profile name was specified in the command (example: ritsu!start profile:profile1)

Profiles shoud be saved under the User entity in a nested array called profiles, each profile should have this structure:

{
  "name": "Profile Name",
  "configuration": {
    "gamemode": "easy",
    "rounds": 10,
    "duration": "10000 (the duration in miliseconds)",
    "themeType": "ending",
    "animelistWebsite": "anilist",
    "animeListUsername": "User",
    "season": "winter",
    "seasonYear": 2018
  }
}

(this can be changed, but not so much)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions