Skip to content

Commit

Permalink
Added discord (#814)
Browse files Browse the repository at this point in the history
Added discord command.
  • Loading branch information
XilentLVP authored Aug 4, 2020
1 parent 6229751 commit 3514c1d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions javascript/features/commands/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export default class Commands extends Feature {
server.commandManager.buildCommand('credits')
.description('Tells you which amazing folks made LVP happen.')
.build(InfoDialogCommand.create('data/commands/credits.json'));

server.commandManager.buildCommand('discord')
.description('Displays information on how to join our Discord server.')
.build(InfoDialogCommand.create('data/commands/discord.json'));

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

server.commandManager.removeCommand('credits');
server.commandManager.removeCommand('discord');
server.commandManager.removeCommand('guide');
server.commandManager.removeCommand('help');
server.commandManager.removeCommand('irc');
Expand Down

0 comments on commit 3514c1d

Please sign in to comment.