HTML Code:
public SendHelp(id) {
new message[128];
formatex(message, charsmax(message), "content=<@&1029504517319954443>")
GoRequest(id, WEBHOOK_HELP, "Handler_SendReason", GripRequestTypePost, message);
}
public Handler_SendReason(const id){
if(!is_user_connected(id))
return;
}
public GoRequest(const id, const site[], const handler[], const GripRequestType:type, data[]){
new GripRequestOptions:options = grip_create_default_options();
grip_options_add_header(options, "Content-Type", "application/x-www-form-urlencoded");
new GripBody: body = grip_body_from_string(data);
grip_request(site, body, type, handler, options, id);
grip_destroy_body(body);
grip_destroy_options(options);
}
I have such a code and everything would be great but when it is sent on discord it does not read the & sign..
The message looks like this
<@ instead
<@&1029504517319954443>