Skip to content

Commit

Permalink
feat: limit pnj listing to NA guild
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaaz committed Jul 2, 2020
1 parent 9927b13 commit 3836d43
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 5 deletions.
8 changes: 7 additions & 1 deletion src/modules/PNJ/commands/Blaise.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Command, CommandOptions } from 'axoncore';
import { Command, CommandOptions, CommandPermissions } from 'axoncore';

class Blaise extends Command {
constructor(module) {
Expand All @@ -20,6 +20,12 @@ class Blaise extends Command {
this.options = new CommandOptions(this, {
argsMin: 0,
} );

this.permissions = new CommandPermissions(this, {
guilds: {
needed: ['444277614346108939'],
},
} );
}

async execute( { msg, args } ) {
Expand Down
8 changes: 7 additions & 1 deletion src/modules/PNJ/commands/Celeste.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Command, CommandOptions } from 'axoncore';
import { Command, CommandOptions, CommandPermissions } from 'axoncore';

class Celeste extends Command {
constructor(module) {
Expand All @@ -20,6 +20,12 @@ class Celeste extends Command {
this.options = new CommandOptions(this, {
argsMin: 0,
} );

this.permissions = new CommandPermissions(this, {
guilds: {
needed: ['444277614346108939'],
},
} );
}

async execute( { msg, args } ) {
Expand Down
8 changes: 7 additions & 1 deletion src/modules/PNJ/commands/Racine.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Command, CommandOptions } from 'axoncore';
import { Command, CommandOptions, CommandPermissions } from 'axoncore';

class Racine extends Command {
constructor(module) {
Expand All @@ -20,6 +20,12 @@ class Racine extends Command {
this.options = new CommandOptions(this, {
argsMin: 0,
} );

this.permissions = new CommandPermissions(this, {
guilds: {
needed: ['444277614346108939'],
},
} );
}

async execute( { msg, args } ) {
Expand Down
8 changes: 7 additions & 1 deletion src/modules/PNJ/commands/Rounard.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Command, CommandOptions } from 'axoncore';
import { Command, CommandOptions, CommandPermissions } from 'axoncore';

class Rounard extends Command {
constructor(module) {
Expand All @@ -20,6 +20,12 @@ class Rounard extends Command {
this.options = new CommandOptions(this, {
argsMin: 0,
} );

this.permissions = new CommandPermissions(this, {
guilds: {
needed: ['444277614346108939'],
},
} );
}

async execute( { msg, args } ) {
Expand Down
8 changes: 7 additions & 1 deletion src/modules/PNJ/commands/Sarah.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Command, CommandOptions } from 'axoncore';
import { Command, CommandOptions, CommandPermissions } from 'axoncore';

class Sarah extends Command {
constructor(module) {
Expand All @@ -20,6 +20,12 @@ class Sarah extends Command {
this.options = new CommandOptions(this, {
argsMin: 0,
} );

this.permissions = new CommandPermissions(this, {
guilds: {
needed: ['444277614346108939'],
},
} );
}

async execute( { msg, args } ) {
Expand Down

0 comments on commit 3836d43

Please sign in to comment.