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

added profil pic for SL-Craft

parent 095e67ed
Branches
No related tags found
No related merge requests found
......@@ -632,11 +632,19 @@ async function createMcChatWebhook() {
}
function sendMessageFromMcChat(username, message) {
if(username == "SL-Craft"){
mcChatWebhook.send({
content: message,
username: username,
avatarURL: 'https://live.mc.sl-projects.com/tiles/faces/32x32/' + username + '.png',
});
}else{
mcChatWebhook.send({
content: message,
username: username,
avatarURL: 'https://sl-craft.fr/data/images/logo/short-color.png',
});
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment