A fast, minimal, and fully-featured self-bot framework
SplusPy is a Python library designed specifically for building Soroush Plus self-bots (userbots). It provides a clean, intuitive API for automating your personal Soroush Plus account with ease.
⚠️ Note: This is a self-bot framework — it operates on your personal account, not a bot account. Please adhere to Soroush's Terms of Service.
pip install SplusPyTo upgrade to the latest version:
pip install --upgrade SpluspyHere is a minimal example to get your self-bot up and running:
import spluspy
from spluspy import events
client = spluspy.Client("my_session")
@client.on_message()
async def handler(client, event):
if event.message.message.lower() == "hello":
await event.reply("Hi there!")
client.start()
client.run_until_disconnected()- Create a
Client— pass a session name (or path) to store your login. - Register handlers — use
@client.on_message()to react to messages. - Start the client — call
client.start()to connect and log in. - Run forever —
client.run_until_disconnected()keeps the bot alive.
MIT License. See LICENSE for details.