Skip to content

Commit 176f0a0

Browse files
author
Remco
committed
Update experimental to 3.0.0-alpha.1
1 parent 64c441d commit 176f0a0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+2808
-3675
lines changed

.eslintignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
*.json
2+
*.md
3+
*.txt
4+
*.log
5+
*.mp3
6+
*.exe
7+
customize
8+
perms
9+
users
10+
ffmpeg
11+
ffprobe
12+
ffplay
13+
ffserver

.eslintrc.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parserOptions": {
3+
"ecmaVersion": 6
4+
},
5+
"env": {
6+
"node": true,
7+
"es6": true
8+
},
9+
"globals": {
10+
"Promise": true
11+
},
12+
"extends": "eslint:recommended",
13+
"rules": {
14+
"no-multi-spaces": [
15+
"error"
16+
],
17+
"comma-dangle": [
18+
"error",
19+
"never"
20+
],
21+
"indent": [
22+
"warn",
23+
2
24+
],
25+
"no-console": [
26+
"off"
27+
],
28+
"linebreak-style": [
29+
"error",
30+
"windows"
31+
],
32+
"quotes": [
33+
"off"
34+
],
35+
"semi": [
36+
"error",
37+
"never"
38+
]
39+
}
40+
}

.gitattributes

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,2 @@
1-
# Auto detect text files and perform LF normalization
21
* text=auto
3-
4-
# Custom for Visual Studio
5-
*.cs diff=csharp
6-
7-
# Standard to msysgit
8-
*.doc diff=astextplain
9-
*.DOC diff=astextplain
10-
*.docx diff=astextplain
11-
*.DOCX diff=astextplain
12-
*.dot diff=astextplain
13-
*.DOT diff=astextplain
14-
*.pdf diff=astextplain
15-
*.PDF diff=astextplain
16-
*.rtf diff=astextplain
17-
*.RTF diff=astextplain
2+
*.js text eol=crlf

.github/CONTRIBUTING.md

Lines changed: 17 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,20 @@
1-
First off, thanks for taking the time to contribute!
2-
The following are a set of guidelines to improve the quality of your contributions, please follow them accordingly.
1+
Thank you for taking the time to contribute!
2+
Please, follow these rules when making contributions.
33

4-
# Pull requests
5-
1. All pull requests are welcome, but you are required to version bump `package.json` and `README.md`.
6-
2. You are required to confirm that you've tested your code.
7-
3. Guideline 2 does not apply on, but is not limited to; spelling/grammar improvements, small tweaks and image additions.
8-
4. Please do not change `CHANGELOG.md`, this is reserved for contributors with write access.
4+
# Unwanted contributions
5+
1. Spelling/Grammar changes
6+
2. Style violations fixes
7+
3. ESLint rules changes
8+
4. Custom command issues (except internal problems)
9+
5. Alias additions, only applies if no new default commands are provided
10+
6. Issues that come forth from using user accounts instead of bot accounts
911

10-
# Issues
11-
1. If submitting a bug report, include any log files (excluding chatlogs) with your issue.
12-
2. If submitting a improvement suggestion, explain why you want this feature included, you don't have to go into details.
13-
3. Please do not open issues if you're not sure about the cause of the problem.
12+
# Wanted contributions rules
13+
Everything that doesn't fit in the Unwanted category are considered wanted.
14+
## Commands
15+
1. Make sure commands you're adding are suitable to be default ones, if you think that some command are better suited as custom ones, edit the [wiki page](wiki wow) to include those commands instead of including them as defaults.
1416

15-
# Code guidelines
16-
1. All commands go in `commands.js`, no exceptions.
17-
2. Additional files needed by commands go in the `runtime` folder, with the exception for images and music.
18-
3. Usage of ES6 code is allowed.
19-
4. You are free to require additional node modules, but include them in `package.json` if you do.
20-
5. When adding something users would like to disable/enable, include a `config.json` value that will trigger/disable the function.
21-
6. When calling the bots name, use `bot.user` or `bot.user.username`, and not WildBeast or DougleyBot.
22-
7. Try to modulate as much of your code as possible, for example; if your code needs a rss feed, try to modulate the calling for the feed.
23-
24-
# Logging
25-
1. When logging something that users need to see, log them using the `Logger.log("level", "message")` function, or it's shortcut `Logger.level("message")`, **Not** via `console.log`.
26-
2. When *debug* logging something, log them using the `Debug.debuglogSomething("invocation", "message", "loglev")`.
27-
3. When *verbose* logging something, log them using the `Debug.verboselogSomething("invocation", "message", "loglev")`
28-
4. `Logger.log` takes `verbose, info, debug, warn, error` as loglevels, `Debug.debuglogSomething` and `Debug.verboselogSomething` takes loglev's present in the `loglevs.json` file located in the runtime folder.
29-
5. Debug loggers won't check for a correct loglev, but refrain from using levels that aren't defined in `loglevs.json`.
17+
## Code style
18+
1. We follow the [JavaScript Standard Style](https://github.com/feross/standard), please format your code accordingly.
19+
2. [ESLint](http://eslint.org/) is used to identify other style violations, so please lint your code before committing.
20+
3. Make sure you've run `npm test` to confirm you don't break any style rules.

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
# Logs
2-
logs
32
*.log
43
npm-debug.log*
54

65
# UGC
76
config.json
8-
music
9-
images
10-
runtime/databases
11-
runtime/alias.json
127

138
# Runtime data
149
pids
@@ -33,54 +28,3 @@ build/Release
3328
# Dependency directory
3429
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
3530
node_modules
36-
37-
# =========================
38-
# Operating System Files
39-
# =========================
40-
41-
# OSX
42-
# =========================
43-
44-
.DS_Store
45-
.AppleDouble
46-
.LSOverride
47-
48-
# Thumbnails
49-
._*
50-
51-
# Files that might appear in the root of a volume
52-
.DocumentRevisions-V100
53-
.fseventsd
54-
.Spotlight-V100
55-
.TemporaryItems
56-
.Trashes
57-
.VolumeIcon.icns
58-
59-
# Directories potentially created on remote AFP share
60-
.AppleDB
61-
.AppleDesktop
62-
Network Trash Folder
63-
Temporary Items
64-
.apdisk
65-
66-
# Windows
67-
# =========================
68-
69-
# Windows image file caches
70-
Thumbs.db
71-
ehthumbs.db
72-
73-
# Folder config file
74-
Desktop.ini
75-
76-
# Recycle Bin used on file shares
77-
$RECYCLE.BIN/
78-
79-
# Windows Installer files
80-
*.cab
81-
*.msi
82-
*.msm
83-
*.msp
84-
85-
# Windows shortcuts
86-
*.lnk

.hound.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.js_hound.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)