Skip to main content

A lightweight automation and Discord bot framework that lets you build bots using a simple scripting system.

Project description

⚡ tflows.py

tflows.py is a lightweight automation and Discord bot framework that lets you build bots using a simple scripting system.

Check Releases


✨ Features

  • ⚡ Simple command system
  • 🧠 Built-in function engine
  • 🔁 Event-based execution
  • 🔌 Extensible architecture (add your own functions)
  • 📦 Easy to install via pip

🚀 Example

from tflows import FlowBot

bot = FlowBot(prefix="!")

bot.command(
    name="ping",
    code=\"\"\"
send pong
log command executed
\"\"\"
)

bot.run("YOUR_TOKEN")

🧩 Built-in Functions

send → sends a message in chat log → prints to console

Example:

send Hello world
log This ran successfully

📦 Installation

pip install tflows.py

🛠️ How It Works

tflows.py uses a simple scripting engine that:

  • Parses command strings line by line
  • Maps commands to registered Python functions
  • Executes them asynchronously inside Discord events

🧠 Why use tflows.py?

Build bots faster No complex boilerplate Focus on logic, not setup Easily extendable for automation systems

📜 License

MIT License

⚡ Author

Made with ❤️ by Tonie

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tflows-0.0.4.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tflows-0.0.4-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file tflows-0.0.4.tar.gz.

File metadata

  • Download URL: tflows-0.0.4.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for tflows-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8c8a7e124ee0ec5e2fe64a59f6ac88f3f5d84cea7c4b9baaad46927fa38f4cc9
MD5 ded5ca81999c1e418a4761ee140f5922
BLAKE2b-256 627531bec5b1bb9377a666d47fca54e0b269b3d092eb9f210e676e19dea41241

See more details on using hashes here.

File details

Details for the file tflows-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: tflows-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for tflows-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4fe25747309888ea8b0ec5cfa523b6518629f000fd4859f060f94742ccee79af
MD5 91b6e5a23b3bf3dceaa63e72f246b6e7
BLAKE2b-256 1bc64c9c47059b8275d852cccbf2fd06f85d1a26c4eed7bd296759f6dbe2bd19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page