Build a Fluxer bot by snapping blocks together.
Drag blocks like you would in Scratch, read the real Python they write, then run your bot. Made for people learning the Fluxer bot API with fluxer.py.
Use the Fluxer account that owns your bot. There is no separate password.
BlocksTry editing the white boxes
PythonWritten for you
import os
import fluxer
bot = fluxer.Bot(
command_prefix="!",
intents=fluxer.Intents.default(),
)
@bot.event
async def on_ready():
print("Bot is online!")
@bot.command()
async def ping(ctx):
await ctx.reply("Pong!")
bot.run(os.environ["FLUXER_TOKEN"])
Chat
Send your bot a message. Try !ping
ConsolePress Restart to use your changes
Press Run to start your bot.
Four steps from nothing to a running bot
Nothing to install. You build in the browser and this website runs the bot for you.
-
Step 1
Log in with Fluxer
Use your Fluxer account. We only ask for your name and avatar.
-
Step 2
Add your bot
Paste its token. We check it with Fluxer and keep it encrypted.
-
Step 3
Snap blocks together
Events, messages, variables, lists and more. Each block writes real fluxer.py code.
-
Step 4
Run it
Press Run and watch the console. Logs, warnings and errors appear as they happen.
Nine kinds of blocks, from events to variables
Every family has its own colour, the same as in the editor. Pick one to see a few of its blocks.
Events
Every script starts with an event: something happens in Fluxer and your blocks run.
Bot
Control the bot itself: its status, its custom status and what it writes to the console.
Message info
Read what was said, who said it and where.
Control
Decide and repeat: if / else, loops and waiting.
Operators
Join text, compare values and do maths.
Variables
Give a value a name, then use it or change it later.
Lists
Keep many values together and loop over them.
JSON and assets
Use the files you uploaded: read a JSON file, or send an image.
Bring your own files
Upload JSON files, images and other assets, then pick them from a block's dropdown. Load a list of quotes from JSON, or reply with a picture.
See what your bot is doing
Run, restart and stop it from the editor. The console shows what your bot writes, plus warnings and errors, so you can find out why something didn't work.
Safe to learn on
You are handing this site a bot token, so here is what happens to it, and to the rest of your data.
-
Your token is encrypted
It is encrypted before it is stored and never shown again. No block can read it, so a bot can't post it into chat.
-
Only your own bots
You can add a bot only if your Fluxer account owns it.
-
Blocks, not arbitrary code
Every block turns into a fixed, checked piece of Python. There is no block that runs code you typed in.
-
Bots run apart from the site
Each run is a separate process with limits on memory, processor time and running time, on a server that is not the website.
-
A minimal login
We ask Fluxer for your name, avatar and ID, then give Fluxer's access token straight back.
-
Delete it all, any time
One button on My bots removes your bots, tokens, blocks and files.
Ready to build your first bot?
Log in, add your bot, and drag the first block. It takes a few minutes.
Log in with FluxerStuck, or missing a block? Ask in the community server on Fluxer.