Colonie is a PvP game allowing you to attack all the member of your server.
Find all the details on troops: colonie recruit help
guards
provide 1 defensive point to your colonie. They need to be fed daily or they will leave your colonie...
light infantry
provide 1 defensive point and 1 offensive point to your colonie. They need to be paid in gold and fed daily! In addition, you need to have abarrak
to recruit and train them.
Find all about buildings: colonie build help
pit trap
grant 1 defensive point to your colonie.
barrak
allow you to recruit infantry. You will need to maintain this building daily with building materials.
If you have offensive troops (light infantry
), you can launch attack on any member of the current server.
colonie raid @member
If you have more attack power than your victim you will get some golad and stole a percentage of the victim resources.
If the defender have more defense power than your attack. You will lose your offensive troops and the defender will get some gold. Be careful, defense can be setted up in DM...
3 types of resources exist in the game:
food
used to recruit troops and in scavenging workbuilding materials
used to build buildingsgold
used to pay the military
display the colonie resources
display colonie troops
recruit the requested troop or display the recruitement help
gatherer
produce 1 foodscavenger
consume 1 food and produce a building materialguards
add +1 defense point to the colonie⚠️ require a daily upkeep cost⚠️ light infantry
add + 1 defense and +1 attack to the colonie⚠️ require a daily upkeep cost⚠️
Activate the workers to produce their designated yeild.
Building will create a passive income for you colonie. You will receive a DM from the bot twice a day at 0000 and 1200 (server time).
list colonie building
build the requested building or display the help on invalid types
home
allow 5 more troops (not applied yet)farms
produce 5 food a 0000 and 12000landfill
produce 5 building material at 0000 and 1200barrak
allow you to recruit infantry⚠️ require a daily upkeep cost⚠️ pit trap
grant +1 DEF for the colonie
display a bot invite link
display the bot status
reply pong
display the help message.
-
[GET]
/
/health
Health check, should always return OK -
[GET] /discord/bot-invite helper method that redirect to the bot invite link
$ npm install
.env files supported
- PORT : default 5000
- DISCORD_API_TOKEN
- DISCORD_CLIENT_ID
- MONGO_URL
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
To start the container, run:
$ docker-compose up
When it run, go to: http://localhost:5000/health
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
- Nest framework TypeScript.
- discord.js discord API client.