A simple non-player-character directory-builder bot for discord !
How to use
Some Assembly Required
I wrote this out so you could implement your own copy of Roll-o-Dex for your at-home table-top role-playing game. The code is all here but there are some other steps you will need to follow if you want this to work for you and your group. I will write it all out more step-by-step at a later date, but basically you will need to download and set up these libraries/database/etc:
Your player-characters will meet many, many non-player characters during the course of your ongoing table-top rpg campaign, and sometimes it can be difficult to keep them all straight. They often have strange names, and at some point it becomes difficult to remember who is allied whom, and where these NPCs are from. Rollodex uses the term 'Faction' as a catch-all for various ways NPCs may be organized. Guilds, families, businesses, even countries can be factions. So what you have to do is populate your world with NPCs and Factions, and combine the two, all using the commands below. Then you can call up anyone you want and learn about them! NPCs may belong to any number of factions, but too many may get confusing to you!
Please note that currently, all names are case sensitive. Also, for now NPC names must be two words, and faction names must be one word.
!npc list- List of all NPCs
*npc name*- pulls up info on requested npc
!npc newnpc name npc description - creates a new npc
!npc describenpc name new npc description - replaces the old description with the new description
!npc renamenpc old name npc new name - renames npc
!npc recruitnpc name faction name - recruits existing npc into existing an faction
!npc killnpc name - removes npc from database
!faction list- List of all NPCs
!faction getfaction name - pulls up info on requested faction
!faction newfaction name npc description - creates a new faction
!faction describefaction name new faction description - replaces the old description with the new description
!faction renamefaction old name faction new name - renames faction
!faction recruitfaction name npc name - recruits existing npc into existing an faction
!faction membersfaction name - pulls up a list of members of said faction
!faction killfaction name - removes faction from database
there are and/or will be a couple others !
Have a feature in mind? Having trouble with something? Let me know. Feel free to open an issue, and I will try to respond promptly.
Want to contribute to Rollodex? Awesome! Open a pull request.