Skip to content

Commit

Permalink
Remove version field from bot modules
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinSRG committed Jan 30, 2017
1 parent a429e3d commit 33939c3
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 18 deletions.
3 changes: 1 addition & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,13 +286,12 @@ class ChatBotApp {
let mod = new BotMod(Path.resolve(path, file), conf, this);
this.modules[mod.id] = mod;
this.parser.addCommands(mod.commands);
console.log('NEW MODULE: ' + mod.name + ' (v' + mod.version + ')');
console.log('NEW MODULE: ' + mod.name);
} else if (!this.modules[conf.id]) {
this.modules[conf.id] = {
id: conf.id,
name: conf.name,
description: conf.description,
version: conf.version,
commands: {},
system: null,
enabled: false,
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/auto-invite/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "autoinvite",
"name": "Auto-Invite",
"version": "2.0",
"main": "main.js",
"commands": [],
"handlers": [
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/battle/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "battle",
"name": "Battle",
"version": "1.4",
"main": "main.js",
"commands": [
"commands.js"
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/blacklist/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "blacklist",
"name": "BlackList",
"version": "1.1",
"main": "main.js",
"commands": [
"commands.js"
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/chat-logger/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "chatlogger",
"name": "Chat Logger",
"version": "1.0",
"main": "chat-logger.js",
"commands": [],
"handlers": [
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/core/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "core",
"name": "Core",
"version": "1.0",
"main": "core.js",
"commands": [
"commands/exec-cmd.js",
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/games/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "games",
"name": "Games",
"version": "3.0",
"main": "main.js",
"commands": [
"commands.js",
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/github/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "github",
"name": "GitHub Dev Bot",
"version": "1.0",
"main": "main.js",
"commands": ["commands.js"],
"handlers": [
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/html-box/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "htmlbox",
"name": "HtmlBox Commands",
"version": "2.0",
"main": "main.js",
"commands": [
"commands.js"
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/join-phrases/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "joinphrases",
"name": "Join-Phrases",
"version": "1.0",
"main": "main.js",
"commands": [
"commands.js"
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/misc/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "misc",
"name": "Misc",
"version": "1.1",
"commands": [
"misc.js"
],
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/moderation/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "moderation",
"name": "Moderation",
"version": "1.0",
"main": "main.js",
"commands": [
"commands/banwords.js",
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/pokemon/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "pokemon",
"name": "Pokemon",
"version": "1.0",
"main": "main.js",
"commands": [
"poke-trans/commands.js",
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/quote-joke/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "quote",
"name": "Quotes & Jokes",
"version": "2.0",
"main": "main.js",
"commands": [
"commands.js"
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/timers/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "timers",
"name": "Timers",
"version": "1.0",
"main": "main.js",
"commands": [
"commands.js"
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/tour-cmd/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "tourcmd",
"name": "Tour Command",
"version": "1.1",
"main": "main.js",
"commands": [
"commands.js"
Expand Down
1 change: 0 additions & 1 deletion src/bot-modules/tour-leaderboards/botmodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "tourleaderboards",
"name": "Tour Leaderboards",
"version": "1.0",
"main": "main.js",
"commands": [
"commands.js"
Expand Down

0 comments on commit 33939c3

Please sign in to comment.