Skip to content

Commit

Permalink
Upgrade version and set IDE settings
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinSRG committed Jul 29, 2020
1 parent 5230032 commit 699af83
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ npm-debug.log*
# bat
*.bat
!runcmd.bat
!runonwindows.bat

# Runtime data
pids
Expand Down
30 changes: 30 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"version": "0.2.0",
"configurations": [

{
"type": "node",
"request": "launch",
"name": "Start Bot",
"runtimeExecutable": "npm",
"runtimeArgs": [
"start"
],
"skipFiles": [
"<node_internals>/**"
]
},
{
"type": "node",
"request": "launch",
"name": "Test Code",
"runtimeExecutable": "npm",
"runtimeArgs": [
"test"
],
"skipFiles": [
"<node_internals>/**"
]
}
]
}
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"javascript.format.semicolons": "insert",
"files.exclude": {
"node_modules/**": true,
".github/**": true
}
}
12 changes: 12 additions & 0 deletions .vscode/terminals.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"autorun": true,
"autokill": true,
"terminals": [
{
"name": "SHOWDOWN-BOT",
"description": "Terminal for building and testing",
"open": true,
"focus": true
}
]
}
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Showdown ChatBot
[![Dependency Status](https://david-dm.org/asanrom/Showdown-ChatBot.svg)](https://david-dm.org/asanrom/Showdown-ChatBot)
[![devDependency Status](https://david-dm.org/asanrom/Showdown-ChatBot/dev-status.svg)](https://david-dm.org/asanrom/Showdown-ChatBot?type=dev)
[![optionalDependency Status](https://david-dm.org/asanrom/Showdown-ChatBot/optional-status.svg)](https://david-dm.org/asanrom/Showdown-ChatBot?type=optional)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/asanrom/Showdown-ChatBot/blob/master/LICENSE)

[Pokemon Showdown](https://github.com/Zarel/Pokemon-Showdown) bot written for [Node JS](http://nodejs.org/) with a toon of features often useful for chat rooms like automated moderation, blacklist, customizable help / information commands, games, tournament tools and chat logs. All of those features can be configured with a web control panel that does not require any programming knowledge to be used.

Expand Down Expand Up @@ -82,10 +83,3 @@ Contributing
------------

- [Contributing guidelines](https://github.com/asanrom/Showdown-ChatBot/blob/master/CONTRIBUTING.md)

Lisense
------------

[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](http://opensource.org/licenses/MIT)

Showdown ChatBot is distributed under the terms of the [MIT License](https://github.com/asanrom/Showdown-ChatBot/blob/master/LICENSE).
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "showdown-chatbot",
"version": "2.0.2-beta",
"version": "2.1.0",
"author": {
"name": "Agustin San Roman",
"email": "agustinsanromanguzman@gmail.com",
Expand All @@ -18,10 +18,10 @@
},
"dependencies": {
"busboy": "0.3.1",
"cheerio": "^1.0.0-rc.3",
"probe-image-size": "^5.0.0",
"cheerio": "1.0.0-rc.3",
"probe-image-size": "5.0.0",
"sockjs-client": "1.4.0",
"websocket": "^1.0.31"
"websocket": "1.0.31"
},
"optionalDependencies": {
"githubhook": "1.9.3",
Expand All @@ -36,6 +36,6 @@
"private": true,
"license": "MIT",
"devDependencies": {
"eslint": "7.4.0"
"eslint": "7.5.0"
}
}
2 changes: 0 additions & 2 deletions runcmd.bat

This file was deleted.

13 changes: 13 additions & 0 deletions runonwindows.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@echo off

call node --version

if errorlevel 1 echo You do not have NodeJS installed. && start "" https://nodejs.org/ && pause && exit

call npm --version

if errorlevel 1 echo You do not have NodeJS installed. && start "" https://nodejs.org/ && pause && exit

call npm install

call npm start

0 comments on commit 699af83

Please sign in to comment.