mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 17:34:25 -05:00
Move ping groups to content. so they ping...
This commit is contained in:
parent
0d3a428c0d
commit
7c33fac099
@ -33,6 +33,7 @@ export default async function(server, discordClient, channelID, options = {}) {
|
||||
const trimmedMessage = info.message.replace(adminPrefix, '').trim();
|
||||
|
||||
channel.send({
|
||||
content: pingGroups.length ? pingGroups.map(groupID => `<@&${groupID}>`).join(' ') : '',
|
||||
embed: {
|
||||
title: `${playerInfo.name} has requested admin support!`,
|
||||
color: options.color,
|
||||
@ -51,10 +52,6 @@ export default async function(server, discordClient, channelID, options = {}) {
|
||||
name: 'Team & Squad',
|
||||
value: `Team: ${playerInfo.teamID}, Squad: ${playerInfo.squadID || 'Unassigned'}`
|
||||
},
|
||||
{
|
||||
name: 'Admin Groups',
|
||||
value: pingGroups.length ? pingGroups.map(groupID => `<@&${groupID}>`).join(',') : 'Any'
|
||||
},
|
||||
{
|
||||
name: 'Message',
|
||||
value: trimmedMessage
|
||||
|
Loading…
Reference in New Issue
Block a user