Skip to content

Commit

Permalink
Merge pull request #11 from HerrEurobeat/refresh-token
Browse files Browse the repository at this point in the history
Add refresh token support, progress bars and enforce styling
  • Loading branch information
3urobeat authored Oct 25, 2022
2 parents a1c9947 + 0ec7d6f commit 6e873c6
Show file tree
Hide file tree
Showing 15 changed files with 819 additions and 138 deletions.
43 changes: 43 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"env": {
"commonjs": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",

"started": true,
"srcdir": true,
"botisloggedin": true,
"logger": true,
"config": true,
"advancedconfig": true,
"extdata": true,
"cachefile": true
},
"parserOptions": {
"ecmaVersion": 11
},
"rules": {
"no-redeclare": "off",
"no-unreachable": "error",
"no-unexpected-multiline": "error",

// Styling
"camelcase": "warn",
"capitalized-comments": ["warn", "always", { "ignoreConsecutiveComments": true }],
"comma-spacing": ["warn", { "before": false, "after": true }],
"func-call-spacing": ["error", "never"],
"no-tabs": "error",
"no-trailing-spaces": "error",
"no-extra-semi": "error",
"semi": ["error", "always"],
"semi-spacing": "error",
"semi-style": ["error", "last"],
"quotes": ["error", "double", { "avoidEscape": true }],
"spaced-comment": "warn"
}
}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
node_modules
mass-comment-bot.code-workspace
.eslintrc.json
output.txt
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
* Project: mass-comment-bot
* Created Date: 11.08.2019 12:10:00
* Author: 3urobeat
*
*
* Last Modified: 23.01.2022 13:36:59
* Modified By: 3urobeat
*
*
* Copyright (c) 2022 3urobeat <https://github.com/HerrEurobeat>
*
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
* You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
*/


//Abfahrt!
// Abfahrt!
require("./src/bot.js").run();
Loading

0 comments on commit 6e873c6

Please sign in to comment.