Skip to content
Permalink
Browse files
Added discord (#814)
Added discord command.
  • Loading branch information
XilentLVP committed Aug 4, 2020
1 parent 6229751 commit 3514c1dcb06f423497bd04f5b0e0100cb270777f
Showing 1 changed file with 5 additions and 0 deletions.
@@ -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.')
@@ -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');

0 comments on commit 3514c1d

Please sign in to comment.