Skip to content

Dckingdoms is a discord bot written in python to transform your discord server into a kingdoms server.

Notifications You must be signed in to change notification settings

lwaw/dckingdoms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dckingdoms is a discord bot written in python to transform your discord server into a kingdoms server. This bot allows users to create kingdoms and regions which can then be joined by users of the discord server. Kings can decide to attack regions that are part of other kingdoms. Players can train and work every hour to gain strength and workpower. Strength can be used in a battle by each user to deal damage and workpower can be used by kings to deal damage. Stock market data is generated by the simple stock market generator tool: https://github.com/lwaw/simple-stock-market-simulator.

This bot stores discrord user id's of people that participate in the game. At anytime players can quit the game and the user id will then be removed from the database.

The following commands are available:

All commands start with "-dck", arguments are separated by a whitespace: "-dck set_admin @user"

Admin commands:

  • start_game

  • end_game

  • create_kingdom kingdomname

  • create_region kingdomname regionname

  • set_admin @user

  • demote_admin @user

  • set_king kingdomname @user

King commands:

  • attack_region kingdomname regionname

  • use_workpower kingdomname regionname amount

Citizen commands:

  • join_kingdom kingdomname regionname

  • train

  • work

  • change_location regionname

  • attack regionname amount

  • defend regionname amount

  • buy_strength amount

  • leave_game

** Trading on the stock market has a flat fee of 50 cents and 1 cent per share. **

  • buy_stocks company_name amount

  • sell_stocks company_name amount

General commands:

  • profile @user

  • kingdom kingdomname

  • kingdom_list

  • region_list

  • status_battle regionname

  • show_stocks

  • show_wallet @user

  • quote

  • github

If you encounter errors or have suggestions, please send an email to info@fantasy-sim.com.


Version: 1.1

This project is licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International Public License license

Copyright 2021, Laurens Edwards, All rights reserved.

https://github.com/lwaw/dckingdoms


About

Dckingdoms is a discord bot written in python to transform your discord server into a kingdoms server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages