My first foray into the world of Discord bots is now ready to deploy! It's designed to help with crowdsourcing random tables.
-Build multiple random tables at the same time.
-Roll results from generated tables, or view entire tables as lists.
-Tables are able to reference other tables, using them to build their results.
-Simple tables (those without references) can be exported as HTML snippets (can be dropped into web pages) or JSON objects (to feed advanced data projects).
|Full list of available commands!|
Start Guide (quotes are used to signify commands, and brackets are to signify input content, do not include the brackets or quotes):
-Create a table by typing in ".table [tablename]" (ex: ".table food")
-View the table in the table list by typing in ".viewall"
-Add an entry to the table by typing in ".entry [tablename] [entry content]" (ex: ".entry food A delicious casserole.")
-View the entries of a table by typing in ".view [tablename]"
-Once you have multiple entries in a table, roll a random result from the table by typing in ".roll [tablename]"
-Create a table (we'll use the "food" table from the above examples) and populate it with entries.
-Create a second table (we'll call it "events"), and add an entry that references the name of the first table between "^"s. (ex: ".entry events There was a great feast that featured ^food^.")
-Roll a random result from the second table, and it will pull a result from the first table and incorporate it into its own result. (result: "There was a great feast that featured a delicious casserole.")
-Note: the bot will automatically format referenced content to remove capitalizations and punctuation. This is why the above result was not "There was a great feast that featured A delicious casserole.."
Github Link: https://github.com/sakertarsos/Random-Tables-Bot