Skip to content

Commit

Permalink
Fixed/added stop codes in discord templates (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
CristianEduardMihai authored Jan 23, 2024
1 parent 720f981 commit 7ce70ca
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion discord-jda/discord-jda-docker.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
}
},
"run": {
"command": "java -jar ${jar}"
"command": "java -jar ${jar}",
"stopCode": 2
},
"environment": {
"image": "openjdk",
Expand Down
3 changes: 2 additions & 1 deletion discord-jda/discord-jda.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
}
},
"run": {
"command": "java -jar ${jar}"
"command": "java -jar ${jar}",
"stopCode": 2
},
"environment": {
"type": "standard"
Expand Down
2 changes: 1 addition & 1 deletion discord-js/discord-js-docker.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"run": {
"command": "node ./${bot-js-file}",
"stop": "stop"
"stopCode": 2
},
"environment": {
"type": "docker",
Expand Down
2 changes: 1 addition & 1 deletion discord-js/discord-js.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"run": {
"command": "node ./${bot-js-file}",
"stop": "stop"
"stopCode": 2
},
"environment": {
"type": "standard"
Expand Down
2 changes: 1 addition & 1 deletion discord-py/discord-py-docker.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"run": {
"command": "python3 ${bot-py-file}",
"stop": "stop"
"stopCode": 2
},
"environment": {
"type": "docker",
Expand Down
2 changes: 1 addition & 1 deletion discord-py/discord-py.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"run": {
"command": "python3 ${bot-py-file}",
"stop": "stop"
"stopCode": 2
},
"environment": {
"type": "standard"
Expand Down

0 comments on commit 7ce70ca

Please sign in to comment.