Merge branch 'dev'
commit
3428343587
|
@ -19,7 +19,7 @@ export default class Page extends Command {
|
|||
this.local = {
|
||||
emergencyNumbers: ['#0', '#1', '#2', '#3'],
|
||||
departmentNumbers: ['00', '01', '10', '20', '21', '22'],
|
||||
validPagerCodes: ['911', '811', '210', '265', '411', '419', '555'],
|
||||
validPagerCodes: ['911', '811', '210', '265', '411', '419', '555', '556'],
|
||||
codeDict: new Map(),
|
||||
};
|
||||
this.init();
|
||||
|
@ -33,6 +33,7 @@ export default class Page extends Command {
|
|||
this.local.codeDict.set('411', 'Sender is requesting information/counsel from you.');
|
||||
this.local.codeDict.set('419', 'Sender didn\'t recognize your request.');
|
||||
this.local.codeDict.set('555', 'Sender is requesting that you contact them.');
|
||||
this.local.codeDict.set('556', 'Sender is requesting that you contact them via DMs.');
|
||||
}
|
||||
|
||||
public async run(message: Message, args: string[]) {
|
||||
|
@ -43,7 +44,7 @@ export default class Page extends Command {
|
|||
embed.setTitle('Special Emergency/Department Numbers & Pager Codes');
|
||||
embed.addField('Special Emergency Numbers', '`#0` | Broadcast - all Staff/Associates\n`#1` | Authoritative Broadcast - all Directors, Supervisors, Technicians, and Moderators\n`#2` | Systems Administrators/Technicians Broadcast - Matthew, Bsian, NightRaven, and all Technicians\n`#3` | Community/Moderation Team Broadcast - all Directors, Supervisors, Moderators, and Core Team');
|
||||
embed.addField('Department Numbers', '`00` | Board of Directors\n`01` | Supervisors\n`10` | Technicians\n`20` | Moderators\n`21` | Core Team\n`22` | Associates');
|
||||
embed.addField('Pager Codes', '"Pager" term in this field refers to the Staff member that initially paged. This is a list of valid codes you can send via a page.\n\n`911` - Pager is requesting EMERGENCY assistance\n`811` - Pager is requesting immediate/ASAP assistance\n`210` - Pager is informing you they acknowledged your request, usually sent in response to OK the initial page.\n`265` - Pager is requesting that you check your email\n`411` - Pager is requesting information/counsel from you\n`419` - Pager didn\'t recognize your request\n`555` - Pager is requesting that you contact them');
|
||||
embed.addField('Pager Codes', '"Pager" term in this field refers to the Staff member that initially paged. This is a list of valid codes you can send via a page.\n\n`911` - Pager is requesting EMERGENCY assistance\n`811` - Pager is requesting immediate/ASAP assistance\n`210` - Pager is informing you they acknowledged your request, usually sent in response to OK the initial page.\n`265` - Pager is requesting that you check your email\n`411` - Pager is requesting information/counsel from you\n`419` - Pager didn\'t recognize your request\n`555` - Pager is requesting that you contact them\n`556` - Pager is requesting that you contact them via DMs');
|
||||
embed.setFooter(this.client.user.username, this.client.user.avatarURL);
|
||||
embed.setTimestamp();
|
||||
return message.channel.createMessage({ embed });
|
||||
|
|
Loading…
Reference in New Issue