@@ -89,7 +89,7 @@ module.exports = async function(robot) {
89
89
const getUserList = ( map , brain ) => {
90
90
const userids = getMap ( map , brain )
91
91
return Object . keys ( userids )
92
- . map ( userid => `• <@${ userid } >` )
92
+ . map ( userid => `• <@! ${ userid } >` )
93
93
. join ( '\n' )
94
94
}
95
95
@@ -114,7 +114,7 @@ module.exports = async function(robot) {
114
114
115
115
} ) ;
116
116
117
- robot . hear ( / ! d e p l o y m e n t a d m i n a d d @ ( .+ ) / , async ( res ) => {
117
+ robot . hear ( / ! d e p l o y m e n t a d m i n a d d < @ ! ( .+ ) > / , async ( res ) => {
118
118
const { user } = res . message
119
119
const { brain } = robot
120
120
// Can't @ users not in a chat with you, so this needs to be in public now
@@ -126,15 +126,15 @@ module.exports = async function(robot) {
126
126
127
127
if ( addUserWithRole ( who , 'admin' , brain ) ) {
128
128
return res . send (
129
- `I added <@${ who } > as a deployment admin.`
129
+ `I added <@! ${ who } > as a deployment admin.`
130
130
)
131
131
}
132
132
return res . send (
133
133
'Could not add user as a deployment admin. Maybe they do not exist or are already?'
134
134
)
135
135
} )
136
136
137
- robot . hear ( / ! d e p l o y m e n t a d m i n r e m o v e @ ( .+ ) / , async ( res ) => {
137
+ robot . hear ( / ! d e p l o y m e n t a d m i n r e m o v e < @ ! ( .+ ) > / , async ( res ) => {
138
138
const { user } = res . message
139
139
const { brain } = robot
140
140
0 commit comments