Skip to content

Commit 3514c1d

Browse files
authored
Added discord (#814)
Added discord command.
1 parent 6229751 commit 3514c1d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

javascript/features/commands/commands.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ export default class Commands extends Feature {
1616
server.commandManager.buildCommand('credits')
1717
.description('Tells you which amazing folks made LVP happen.')
1818
.build(InfoDialogCommand.create('data/commands/credits.json'));
19+
20+
server.commandManager.buildCommand('discord')
21+
.description('Displays information on how to join our Discord server.')
22+
.build(InfoDialogCommand.create('data/commands/discord.json'));
1923

2024
server.commandManager.buildCommand('guide')
2125
.description('Displays a useful guide for temporary administrators.')
@@ -45,6 +49,7 @@ export default class Commands extends Feature {
4549
this.positioningCommands_.dispose();
4650

4751
server.commandManager.removeCommand('credits');
52+
server.commandManager.removeCommand('discord');
4853
server.commandManager.removeCommand('guide');
4954
server.commandManager.removeCommand('help');
5055
server.commandManager.removeCommand('irc');

0 commit comments

Comments
 (0)