Forgot about the dependencies

This commit is contained in:
Cooldude2606
2018-08-14 19:00:39 +01:00
parent 3f66d0bda0
commit 121d983b08
5 changed files with 114 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "autoChat",
"version": "4.0.0",
"type": "Module",
"type": "Submodule",
"description": "Sends messages in chat based on what has been said by other players",
"location": "<blank>",
"keywords": [
@@ -10,8 +10,9 @@
" Jokes",
" Fun"
],
"author": "<blank>",
"contact": "<blank>",
"license": "<blank>",
"dependencies": {}
"dependencies": {
"FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Ranking": "?^4.0.0"
},
"collection": "ExpGamingBot_4.0.0"
}

View File

@@ -43,12 +43,12 @@ script.on_init(function(event)
player_return({'chat-bot.message',message},nil,player)
end
end):on_event('error',function(self,err)
Sync.emit_embeded{
if Sync then Sync.emit_embeded{
title='Auto Message Error',
color=Color.to_hex(defines.text_color.bg),
description='Auto Message Error - Closed Thread',
Error=err
}
} end
self.reopen = false
self:close()
end):open()

View File

@@ -1,7 +1,7 @@
{
"name": "autoMessage",
"version": "4.0.0",
"type": "Module",
"type": "Submodule",
"description": "Prints a message every 15 minutes to chat.",
"location": "<blank>",
"keywords": [
@@ -10,8 +10,11 @@
" Auto Message",
" Message"
],
"author": "<blank>",
"contact": "<blank>",
"license": "<blank>",
"dependencies": {}
"dependencies": {
"ExpGamingCore.Server": "^4.0.0",
"FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Ranking": "?^4.0.0",
"ExpGamingCore.Sync": "?^4.0.0"
},
"collection": "ExpGamingBot_4.0.0"
}

View File

@@ -0,0 +1,20 @@
{
"name": "discordAlerts",
"version": "4.0.0",
"type": "Submodule",
"description": "Sends alerts to discord once there is a bot set up to read the alerts.",
"location": "<blank>",
"keywords": [
"Bot",
" Discord",
" Alerts",
" Messages",
" Acctions"
],
"dependencies": {
"ExpGamingCore.Sync": "^4.0.0",
"FactorioStdLib.Color": "^0.8.0",
"FactorioStdLib.Game": "^0.8.0"
},
"collection": "ExpGamingBot_4.0.0"
}

View File

@@ -0,0 +1,78 @@
{
"name": "ExpGamingBot",
"version": "4.0.0",
"type": "Collection",
"description": "Different parts of a useful bot to help run a server. Discord Bot Not Included.",
"location": "<blank>",
"keywords": [
"Discord",
" Bot",
" Messages",
" Chat",
" Auto"
],
"author": "Cooldude2606",
"contact": "Discord: Cooldude2606#5241",
"license": "https://github.com/explosivegaming/scenario/blob/master/LICENSE",
"submodules": {
"autoChat": {
"name": "autoChat",
"version": "4.0.0",
"type": "Submodule",
"description": "Sends messages in chat based on what has been said by other players",
"location": "<blank>",
"keywords": [
"Chat",
" Bot",
" Jokes",
" Fun"
],
"dependencies": {
"FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Ranking": "?^4.0.0"
},
"collection": "ExpGamingBot_4.0.0"
},
"autoMessage": {
"name": "autoMessage",
"version": "4.0.0",
"type": "Submodule",
"description": "Prints a message every 15 minutes to chat.",
"location": "<blank>",
"keywords": [
"Bot",
" Chat",
" Auto Message",
" Message"
],
"dependencies": {
"ExpGamingCore.Server": "^4.0.0",
"FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Ranking": "?^4.0.0",
"ExpGamingCore.Sync": "?^4.0.0"
},
"collection": "ExpGamingBot_4.0.0"
},
"discordAlerts": {
"name": "discordAlerts",
"version": "4.0.0",
"type": "Submodule",
"description": "Sends alerts to discord once there is a bot set up to read the alerts.",
"location": "<blank>",
"keywords": [
"Bot",
" Discord",
" Alerts",
" Messages",
" Acctions"
],
"dependencies": {
"ExpGamingCore.Sync": "^4.0.0",
"FactorioStdLib.Color": "^0.8.0",
"FactorioStdLib.Game": "^0.8.0"
},
"collection": "ExpGamingBot_4.0.0"
}
},
"dependencies": {}
}