Skip to content
Snippets Groups Projects
Commit bfea4d32 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

ct bon en fait

parent 47af0ec9
No related branches found
No related tags found
No related merge requests found
......@@ -491,10 +491,11 @@ async function createMcChatWebhook(){
.catch(console.error);
}
function sendMessageFromMcChat(name, message){
function sendMessageFromMcChat(username, message){
mcChatWebhook.send({
content: message,
username: "test"
username: username,
avatarURL: 'https://live.mc.sl-projects.com/tiles/faces/32x32/' + username + '.png',
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment