This should be really easy, but I’ve never done this before so I’m struggling a bit. It posts a new message, but the author of the message is the bot name, and I want to set that title text according to state in-game.
Here’s what I’m using:
local data = {
["content"] = "Reason: "..string.upper(arrest_reason);
["author"] = {
["name"] = jailer.Name.." arrested "..detainee_name;
}
}
Thanks ![]()