Skip to content

Commit

Permalink
chore: clean up excess resource files
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed Apr 28, 2019
1 parent 83f40d1 commit f2b6ec4
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 194 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "node"
- "11.14.0"
- "lts/*"

before_install:
Expand Down
6 changes: 3 additions & 3 deletions src/commands/LFG/LFG.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AddLFG extends Command {
* @param {Genesis} bot The bot object
*/
constructor(bot) {
super(bot, 'lfg.add', 'lfg|h|lfm', 'Submit an LFG request.');
super(bot, 'lfg.add', 'lfg|hosting|lfm', 'Submit an LFG request.');
this.regex = new RegExp(`^(?:${this.call})(?!elp)\\s?(.+)?`, 'i');

this.usages = [
Expand Down Expand Up @@ -70,11 +70,11 @@ class AddLFG extends Command {
lfg.types.push('LFG');
}

const typeMatches = message.strippedContent.match(/^(lfg|h|lfm)/ig);
const typeMatches = message.strippedContent.match(/^(lfg|hosting|lfm)/ig);
if (typeMatches && typeMatches.length) {
typeMatches.forEach((type) => {
switch (type.toLowerCase()) {
case 'h':
case 'hosting':
lfg.types.push('Hosting');
break;
case 'lfm':
Expand Down
21 changes: 0 additions & 21 deletions src/resources/de/strings.json

This file was deleted.

21 changes: 0 additions & 21 deletions src/resources/es/strings.json

This file was deleted.

21 changes: 0 additions & 21 deletions src/resources/fr/strings.json

This file was deleted.

21 changes: 0 additions & 21 deletions src/resources/it/strings.json

This file was deleted.

21 changes: 0 additions & 21 deletions src/resources/ko/strings.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/resources/locales.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["en-US"]
["en-US", "de-DE", "es-EM", "fr-FR", "it-IT", "ko-KR", "pl-PL", "pt-BR", "ru-RU", "zh-TW"]
21 changes: 0 additions & 21 deletions src/resources/pl/strings.json

This file was deleted.

21 changes: 0 additions & 21 deletions src/resources/pt/strings.json

This file was deleted.

21 changes: 0 additions & 21 deletions src/resources/ru/strings.json

This file was deleted.

21 changes: 0 additions & 21 deletions src/resources/zh/strings.json

This file was deleted.

0 comments on commit f2b6ec4

Please sign in to comment.