highlight playernames in discord channel
This commit is contained in:
parent
359b1d7404
commit
95b5ab6ab2
@ -73,10 +73,10 @@ module.exports = function(remote, events){
|
||||
|
||||
if (event.message_type == "me"){
|
||||
// me message
|
||||
message = `* ${event.username}${mapped_username} ${event.message}`;
|
||||
message = `* **${event.username}${mapped_username}** ${event.message}`;
|
||||
} else {
|
||||
// normal message
|
||||
message = `<${event.username}${mapped_username}> ${event.message}`;
|
||||
message = `**<${event.username}${mapped_username}>** ${event.message}`;
|
||||
}
|
||||
} else {
|
||||
// system message
|
||||
|
Loading…
x
Reference in New Issue
Block a user