This bot was developed as an entry for Discord's Hack Week.
Setup Help Testing Contributing Contributors
- Clone the repository
git clone https://github.com/majordwarf/chronoside - Navigate inside the repository
cd chronoside - Install the dependencies ( yarn is recommended )
yarn - Setup you
mysqlserver locally - Make a copy of
config.json.exampleand rename it toconfig.json - Change the config data inside
config.json - Run the bot
yarn start
YOU WON'T BE ABLE TO EXECUTE ANY COMMANDS WHILE TRAVELLING OR WHEN ON ADVENTURE.
YOU NEED TO EXECUTE A COMMAND WHEN TO TRIGGER THE CHECK IF THE CURRENT ACTIVITY [travelling or adventure] is completed or not.
Commands - ( ! - Prefix )
begin- Starts character creator to begin your adventure.
farm list- Shows you a list of farm upgrades.farm buy- To buy a farm patch with 50 gold.farm upgrade- Upgrade your current farm level.farm collect- Collect your hourly generated gold from the farm.
travel cityName- Travel to the city specified. List of city you can travel -- Erysall
- Qrita
- Calbury
- Spawn
explore- Explores the current city. You have chance to find hidden loot or encounter mobs while exploring.
adventure- Let's you make your character go in a dungeon while begin AFK to gather gold.
cheats- Cheat for development debugging process. Arguments available -gainxp amount- Gives you the amount of XP specified.travel cityName- Instant teleport to the city specified.gaingold amount- Gives you the amount of gold specified.battle- Triggers battle with random mobs without needing to explpore.
stats- Show the server statistics.
To add a new feature or fix a bug follow the steps -
- Make sure your local workspace is up-to-date with the main repository.
- Add the original repository as
upstreamin you local git remotegit remote add upstream https://github.com/majordwarf/chronoside - Fetch the latest code
git fetch remote upstream master - Checkout to your local master branch
git checkout master - Merge changes from
upstream/masterto syncgit merge upstream/master
- Add the original repository as
- Create a new branch to work on the new feature or bug via the updated master branch
git checkout -b "branch_name" - Work on feature/bug and stage all the files to commit it on that branch
git add .>git commit -m "Commit Message" - Push the branch to your fork
git push -u origin branch_name - Create a pull request.
The Chronoside Bot was developed by @majordwarf, @segalll, and @gcttirth.