Skip to content

Commit

Permalink
Cleaned code
Browse files Browse the repository at this point in the history
Using ESLint to clean code and added forgotten ctx variable to function initialiser.
  • Loading branch information
bostrot committed Aug 18, 2018
1 parent e8d939b commit a7f662c
Show file tree
Hide file tree
Showing 9 changed files with 666 additions and 443 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
"extends": "google",
"parserOptions": {
"ecmaVersion": 6
},
"rules": {
"linebreak-style": 0
}
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.js filter=gitignore
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ BotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsT

## Help

You are welcome to contribute with pull requests, bug reports, ideas and donations.
You are welcome to contribute with pull requests, bug reports, ideas and donations. Join the forum if you have any general purpose questions: [discuss.bostrot.com](https://discuss.bostrot.com)

Bitcoin: [1ECPWeTCq93F68BmgYjUgGSV11XuzSPSeM](https://www.blockchain.com/btc/payment_request?address=1ECPWeTCq93F68BmgYjUgGSV11XuzSPSeM&currency=USD&nosavecurrency=true&message=Bostrot)

Expand Down
16 changes: 8 additions & 8 deletions bin/cache.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
ticketID: "",
ticketIDs: [],
ticketStatus: {},
ticketSent: [],
html: "",
noSound: "",
}
module.exports = {
ticketID: '',
ticketIDs: [],
ticketStatus: {},
ticketSent: [],
html: '',
noSound: '',
};
Loading

0 comments on commit a7f662c

Please sign in to comment.