Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.
TheIcyStar edited this page Feb 8, 2019 · 14 revisions

Welcome to the Roblox-DiscordBotService wiki!

Here's an example JSON response of a plain message that you would send to the bot.

{ "key": "API_KEY", "messageType": "plaintext", "channel": "botspam", "message": { "text": "Hio!" } }

image of test message

If you want to get fancy, you can use a different message type. This can be expanded with the bot's code, but there's a default that lets you have a bit more formatting.

{ "key": "API_KEY", "messageType": "playerProfile", "channel": "feedbackLogs", "waitForPictureReady": true, "message": { "text": "Game's real good but there's not enough fish in it. Something something Text Here", "playerName": "OnlyTwentyCharacters", "playerId": 28969907 } } image example of result

The player profile image is fetched from roblox with the playerId. Make sure that this is correct.

Variables

Key: api key used by your scripts

messageType: either "plaintext" or "playerProfile". See the section below for the message object

channel: the name of the channel you would like to have the feedback go to

waitForPictureReady: a special property that tells the bot to wait for roblox.com to generate a profile picture before posting the message. (Only necessary if you are using the PlayerProfile image type.)

the Message object

plaintext

A simple message to a channel

text: the text of the message

playerProfile

A formatted message with a player thumbnail, a player id, and a place for text.

text: the text of the message

playerName: the name of the player

playerId: the ID of the player to use the thumbnail for. Must be a valid id.

Clone this wiki locally