AI bot
Ask anything. It remembers.
A conversational AI in your server. One sentence wires up /ask, keeps short-term memory per user, and rate-limits chatty folks so credits last.
the prompt
“An AI assistant with /ask, conversation memory, and a per-user rate limit.”
memory·last 6 turns per user, 30-minute window
rate limit·20 /ask per user per hour, configurable
cost cap·stops at your monthly credit allowance
swap the model later without re-describing the bot
how do I structure a discord cog for events?
A cog is a class that groups related event handlers and commands. Subclass `commands.Cog`, decorate event handlers, and load it from setup_hook.
...and how do I share state between two cogs?
Either attach state to the bot instance, or use a shared service module both cogs import.
What it does.
- 01Responds to /ask with a clean reply, threaded so the channel stays tidy.
- 02Remembers the last few messages per user, so follow-ups have context.
- 03Caps each user at a configurable number of asks per hour — no runaway costs.
- 04Swap the model later (GPT, Claude, local) without re-describing the bot.
Type your version of the sentence.
Free to try — no credit card. Tweak the bot in chat until it does exactly what you want.