-
Notifications
You must be signed in to change notification settings - Fork 6
Home
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!" } }
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 } }
The player profile image is fetched from roblox with the playerId. Make sure that this is correct.
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.)
A simple message to a channel
text: the text of the message
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.