There are two ways in. Pick the simple one first.
Roblox moduleWebhooksRich cardsBotsSlash commandsPlaying nowPolls & threadsExamplesLimitsRules
Skip the web code. Download Chonkibee.lua, add it as a ModuleScript named Chonkibee in ServerScriptService, and turn on Allow HTTP Requests in Game Settings → Security.
🔐 Never put it in ReplicatedStorage or a LocalScript. Everything there is copied to players' devices, and your webhook link and bot token are secrets. The module refuses to run outside the server.
local Chonkibee = require(game.ServerScriptService.Chonkibee)
-- post news with a webhook
local feed = Chonkibee.webhook("https://chonkibee.jievienne.com/api/webhooks/ID/SECRET")
feed:post("🏆 Rae won the round!", { title = "Score: 12,480", color = 0xE8913A })
feed:poll("Which map next?", { "Desert", "Snow", "Volcano" })
-- or a bot: slash commands and "playing now"
local bot = Chonkibee.bot("APP_ID.SECRET")
bot:commands({ { name = "stats", description = "Show a player's stats" } })
bot:onCommand("CHANNEL_ID", "stats", function(cmd)
return "Stats for " .. cmd.args .. ": 12 wins, 3 losses"
end)
bot:setPlaying("CHONKIBEE_USER_ID", "Ranked match · Desert", 20)
The module queues messages so you stay under the limits, retries when the network hiccups, and never blocks your game.
| Webhook | Bot | |
|---|---|---|
| Good for | Posting news, scores and alerts into one channel | Reading and posting across servers, commands, game links |
| Setup | Server settings → Webhooks → Create | Developers → Create app → share the install link |
| Secret | The webhook link | The bot token |
A server owner or moderator opens Server settings → Webhooks, picks a channel and copies the link. Anything that can send a web request can then post into that channel.
curl -X POST "https://chonkibee.jievienne.com/api/webhooks/ID/SECRET" \
-H "content-type: application/json" \
-d '{"username":"Arena Stats","content":"🏆 Team Caramel wins 3-1!"}'
| Field | What it does |
|---|---|
content | Message text, up to 2000 characters. |
username | Optional name shown on the message (up to 40 characters). |
embeds | Optional list of up to 5 rich cards (below). |
🔐 Treat the webhook link like a password. Keep it on your game server, never inside a game client or a public repo. If it leaks, delete the webhook and make a new one.
{
"content": "Match finished!",
"embeds": [{
"title": "🏆 Team Caramel wins",
"description": "Final score **3 – 1**",
"url": "https://example.com/match/123",
"color": 15241530,
"fields": [
{ "name": "MVP", "value": "Rae", "inline": true },
{ "name": "Eliminations", "value": "12", "inline": true }
],
"footer": { "text": "Season 4 · Ranked" }
}]
}
Limits: title 256, description 2000, up to 10 fields (name 100, value 500), footer 200. Links must start with https://. color is a number, for example 0xE8913A = 15241530.
Every request sends the token in a header:
Authorization: Bot APP_ID.SECRET
| Request | What it does |
|---|---|
GET /api/v1/me | Your bot's id and name. |
GET /api/v1/servers | Servers your bot is in, with their channels. |
GET /api/v1/channels/{id}/messages?after={messageId} | Recent messages. Use after to only get new ones; poll every few seconds. |
POST /api/v1/channels/{id}/messages | Post a message: {"content", "embeds", "reply_to", "thread_id", "poll"}. |
GET /api/v1/channels/{id}/messages?thread={messageId} | Read a thread. |
PUT /api/v1/commands | Set your slash commands (below). |
POST /api/v1/presence | Show what someone is playing (below). |
Bots never see private channels.
Register up to 25 commands. When someone types / in a server your bot is in, Chonkibee suggests them.
PUT /api/v1/commands
[{ "name": "stats", "description": "Show a player's stats" },
{ "name": "lobby", "description": "Open a lobby" }]
When someone sends /stats Rae, the message you read has a command field: {"app": "…", "name": "stats", "args": "Rae"}. Answer with a normal message and reply_to set to that message's id.
POST /api/v1/presence
{ "user_id": "CHONKIBEE_USER_ID", "text": "Ranked match · Desert", "minutes": 20 }
Shows 🎮 Ranked match · Desert · YourGame on their profile and in the member list until it expires (1–240 minutes; send it again to keep it going, or send "text": "" to clear it). It only works for people in a server your bot is in, and people can switch it off in their settings. A handy way to learn someone's Chonkibee id: ask them to use a command like /link, and read author.id from that message.
Send "poll": {"question": "Which map?", "options": ["Desert", "Snow"]} (2–10 choices) from a bot or a webhook. Send "thread_id": 123 to reply inside the thread under message 123.
local HttpService = game:GetService("HttpService")
local WEBHOOK = "https://chonkibee.jievienne.com/api/webhooks/ID/SECRET" -- keep on the server only
local function announce(text, title, color)
local ok, err = pcall(function()
HttpService:PostAsync(WEBHOOK, HttpService:JSONEncode({
username = "My Game",
content = text,
embeds = { { title = title, color = color or 0xE8913A } },
}), Enum.HttpContentType.ApplicationJson)
end)
if not ok then warn("Chonkibee post failed: " .. tostring(err)) end
end
game.Players.PlayerAdded:Connect(function(p)
announce(p.DisplayName .. " joined the game 🐝")
end)
const TOKEN = process.env.CHONKIBEE_TOKEN, API = 'https://chonkibee.jievienne.com/api/v1';
const call = (p, o = {}) => fetch(API + p, { ...o, headers: { authorization: 'Bot ' + TOKEN, 'content-type': 'application/json' } }).then(r => r.json());
const { servers } = await call('/servers');
const channel = servers[0].channels[0].id;
let after = 0;
setInterval(async () => {
const { messages } = await call(`/channels/${channel}/messages?after=${after}`);
for (const m of messages) {
after = Math.max(after, m.id);
if (m.content === '!ping') await call(`/channels/${channel}/messages`, { method: 'POST', body: JSON.stringify({ content: 'pong 🐝', reply_to: m.id }) });
}
}, 3000);
import requests
requests.post("https://chonkibee.jievienne.com/api/webhooks/ID/SECRET",
json={"content": "Server is back online ✅"}, timeout=10)
Each webhook can post 30 messages a minute, and each bot can post 30 messages a minute. Slow mode in a channel only applies to people, not bots or webhooks. Going over returns 429; wait and try again. Errors come back as JSON: {"error": "…"}.
🐝 Chonkibee · Created by Jievy • Jievienne AI