This repository is a fork of JonSnowbd's TagScript, a string templating language. This fork adds support for Discord object adapters and a couple Discord related blocks, as well as multiple utility blocks. Additionally, several tweaks have been made to the engine's behavior.
This TagScriptEngine is used on Dusky, a Discord bot. An example implementation can be found in the Tags cog.
Additional documentation on the TagScriptEngine library can be found here.
Download the latest version through pip:
pip(3) install AdvancedTagScript
Download from a commit:
pip(3) install git+https://github.com/cool-aid-man/TagScriptEngine.git@<COMMIT_HASH>
Install for editing/development:
git clone https://github.com/cool-aid-man/TagScriptEngine.git
pip(3) install -e ./TagScriptEngine
AdvancedTagScript is a drop in easy to use string interpreter that lets you provide users with ways of customizing their profiles or chat rooms with interactive text.
For example TagScript comes out of the box with a random block that would let users provide a template that produces a new result each time its ran, or assign math and variables for later use.
Python 3.8+
pyparsing
discord.py
Red-DiscordBot [optional]