Skip to content

This is the bot for Tales of Exandria server. It has been made as an experiment to augument the westmarching experience. This is a passion project, dont expect it to work but the ideas and patterns used should stand the test of time.

License

Notifications You must be signed in to change notification settings

piyushsatti/autotoes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Auto-Toes

This is the bot for Tales of Exandria server. It has been made as an experiment to augument the westmarching experience. This is a passion project, dont expect it to work but the ideas and patterns used should stand the test of time.

Naming Convention

  • member/s these are all members of a discord server
  • player/s these are members that are players at tables
  • DM/s these are special player/s that have additional capabilities such as DMing
  • authority/s these are HIGHER AUTHORITY. Must be bowed to and respects :Prayge:
  • > mention how high or < how low the priority is

Features

This section lists the commands in the bot,

Tracking [>]

  • Resource Points
  • Downtime Availability
  • Registering games: DM/s vs Player/s
  • Rest: Long/Short
  • Quests: Linking quests, and adventure summaries to the game
  • Server Store
    • Alchemy
    • Supply Store

Player [>>>]

  • Active Player Token Thread -> token link
  • All Player Token Threads -> LIST(token link)
  • Linked Quests -> MAP(token link -> quest link)
  • Linked Adventure Summaries -> MAP(token link -> adventure summary link)
  • Used Shrine Services -> MAP(token link -> quest link)
  • Automate number of games played - msg link

DMs [>>]

  • Quest Ran -> quest link
  • Quest Hooks -> link to any quest hook taken
  • Players
    • members played under this person's table - track when

Automate DTQs [<<<]

  • TBD

Automate Market [<<<]

  • TBD

Program Structure

This section details how the program has been laid out, it follows the MVC architecture. These exist in the src/main.

Member Oriented Classes

These are models used in the project, these lie in the src/main/model.

Player

Encapsulates the members associated with a player.

Attributes

  • player discord id
  • numbers of hours played
  • number of games played
  • number of characters created
  • linked list of characters with head pointing to latest character

Members

  • createCharacter

Character

Attributes

  • name
  • sheet json
  • link to token
  • created on
  • linked list of dtqs

DTQ

  • type of DTQ
  • character doing dtq

DM extends Player

Extends the player class to add DM members into the class.

Attributes

Members

Quest

Encapsulates the members associated with a quest.

Attributes

Lists the data members associated with the quest class.

  • Discord Message Link
  • Link to DM
  • Quest Type
  • Quest Number
  • Quest Duration
    • Expected
    • Actual
  • List of Players
  • Link to QuestSummary

Methods

Lists the methods associated with the quest class.

  • Getters and setters for members # implementing type checking and null returns
  • contains methods # Generic implementation using checking object type

QuestSummary

Encapsulates the members associated with an quest summary.

Attributes

  • Discord Message Link
  • Link to DM
  • List of Players
  • Link to Quest
  • List of links to self.type # Allows linking of quest summaries

Methods

Lists the methods associated with the quest class.

  • Getters and setters for members # implementing type checking and null returns
  • contains methods # Generic implementation using checking object type

About

This is the bot for Tales of Exandria server. It has been made as an experiment to augument the westmarching experience. This is a passion project, dont expect it to work but the ideas and patterns used should stand the test of time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages