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.5.tar.gz (4.8 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.5-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tflows-0.0.5.tar.gz
  • Upload date:
  • Size: 4.8 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.5.tar.gz
Algorithm Hash digest
SHA256 1e9adf5dcf4c1dc30a1a63a4d045cf11fb2e1d21c1c9c67c436637b6c906c50f
MD5 157002b8d9e9b7102577145d56ec0922
BLAKE2b-256 972857e19a35f535d36056c8fa00280d7e040ec7fd10d94ba5b80479c9c9cfc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tflows-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f7ab24594813eb43a2697c1b820efe3c215841b9b51647e493d4054560546020
MD5 de94c6f55520b2036888b813764e2dbd
BLAKE2b-256 551d6fa42426e65edba023b2ab724cb59e15af1fb147dd2065109f051178d174

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