A Python API wrapper for Fluxer. Build bots and interact with the Fluxer platform in a simple and elegant way.
A dead simple bot with a ping command:
import fluxer
bot = fluxer.Bot(command_prefix="!", intents=fluxer.Intents.default())
@bot.event
async def on_ready():
print(f"Bot is ready! Logged in as {bot.user.username}")
@bot.command()
async def ping(message):
await message.reply("Pong!")
if __name__ == "__main__":
TOKEN = "your_bot_token"
bot.run(TOKEN)You'll need uv installed, then:
git clone https://github.com/your-username/fluxer-py.git
cd fluxer-py
uv sync --devThat's it, you're sorted. Uv will handle the .venv and dependecies without conflicts, like a traditional package manager!