Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Release 4.1.0 | Aesthetic, functionality changes and a rewrite #184

Merged
merged 778 commits into from
Dec 31, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
778 commits
Select commit Hold shift + click to select a range
63f7a87
[Utils/ObjectDefines] Remove these old things
Dec 3, 2017
cea64e6
[Structures] Add the new Structure expander
Dec 3, 2017
666b757
[Utils] Forgot this
Dec 3, 2017
94dad35
[Gist] Stop censoring the user ID, its public data >.>
Dec 3, 2017
67a9b77
[Events/Message] Adapt to the new message structure
Dec 3, 2017
b343336
Merge branch 'indev-4.0.2' of https://github.com/GilbertGobbels/GAwes…
Dec 3, 2017
1a87547
[Discord.js] Some caching issues fixed
Dec 4, 2017
a1e414d
[Events] Leave blocked guilds at startup or when the bots added.
Dec 4, 2017
1820dfb
[QoL] Bot = Client
Dec 4, 2017
1e8ebcf
[Events/Message] Change the response for the chatter API erroring
Dec 4, 2017
a161654
[SpamHandler] Run a forEach only if there are any messages
Dec 4, 2017
0db6966
[Config.json] Bring some comments to config.json as well as add more …
Dec 4, 2017
5c14931
[QoL] config.js gets our Discord invite link
Dec 4, 2017
be200fd
[Web] /dashboard/global-options/bot-user
Dec 6, 2017
370c6ff
[Config] Some fixes hehe
Dec 6, 2017
697a2c6
[Web/Database/bot/Discord] Traffic stats!
Dec 6, 2017
6e05664
[Web] Maintainer Overview page overhaul!
Dec 7, 2017
1c2eb3a
[Web] /dashboard/global-options/homepage
Dec 7, 2017
dffc9cc
[Traffic] Fixed Global issues
Dec 7, 2017
09d24a3
Merge branch 'indev-4.0.2' of https://github.com/GilbertGobbels/GAwes…
Dec 7, 2017
19bad91
[Deps]
Dec 7, 2017
f916097
Update README.md
Dec 8, 2017
08f563f
[*] Update README
Dec 8, 2017
78fe611
[Events/Message] Remove suffix from command arguments as its availabl…
Dec 8, 2017
85c8bdf
[PMCommands/AFK] First command :Tada:
Dec 8, 2017
7cafb9b
[Commands/8ball] Finished 8ball
Dec 8, 2017
30c8d43
[Base Files] Updated base files for commands
Dec 8, 2017
c8603a0
[Events/Message*] Fixed Gilberts change in events
Dec 8, 2017
e9f176c
[Readme]
Dec 8, 2017
6285653
Update README.md
Dec 8, 2017
eacf3d9
[*] Add "Fastboot"
Dec 8, 2017
48f6c47
[Web] /dashboard/global-options/wiki-contributors
Dec 8, 2017
d3d6bc7
[Web] /dashboard/commands/command-options improvements!
Dec 9, 2017
7be24df
[Errors] Remove errors from the global list
Dec 9, 2017
4689543
[Discord.js] Fix docstring typo and simplify if check
Dec 9, 2017
be08ec8
[Modules/Timeouts] Add startedAt date for further use in other places
Dec 9, 2017
4bcc6e7
[Web] Spacing woops!
Dec 9, 2017
0e34193
[Modules] Improvements to migration script
Dec 9, 2017
ec4b968
[Web] Tweaks
Dec 9, 2017
e52daae
[Misc] Make Webstorm stop complaining
Dec 9, 2017
b1d947f
[Discord.js] Slight tweaks
Dec 9, 2017
1724715
[*] More extensions, more work, still got a few things to adapt
Dec 9, 2017
0ed44ca
[Web] Lotsa fixes
Dec 9, 2017
ee84fe6
[Boot] Boot module!
Dec 9, 2017
b8e9719
[Boot] String update
Dec 9, 2017
3180ba3
[PMCommands/Reload] Remove userDocument from params
Dec 9, 2017
6e7f52c
[Cache] Modularize the cache system some more, in case we need to re-…
Dec 9, 2017
0e3baaf
[Structures] Don't initialize the user document on each user creation
Dec 9, 2017
25b2e18
[Discord.js] Did a booboo
Dec 9, 2017
cffa713
[*] Fix some bugs
Dec 9, 2017
3da1d03
[PMCommands] Updated base file
Dec 10, 2017
ad37e3a
[PMCommands/config] Finish config command
Dec 10, 2017
db14c50
[PMCommand/Reload] Some more tweaks
Dec 10, 2017
6f232f5
[PMCommands] Fix reload yet again
Dec 10, 2017
2f913c4
[Web] /dashboard/maintainer/version [1/2]
Dec 10, 2017
8f47a78
[Web] Routing update
Dec 10, 2017
e653266
[*Commands] Forgot to add config command here
Dec 10, 2017
ce6c64e
[PMCommand/config] Patch
Dec 10, 2017
1f86b60
[PMCommands] help and join are now done
Dec 10, 2017
189caf4
[PMCommand|*] Part 1 of the profile command is done
Dec 10, 2017
cc9d75e
[PMCommand/profile] slight tweak
Dec 10, 2017
6631c45
[Web/Updater] Updater, fully functioning!
Dec 11, 2017
92285f3
[Web] Annoy Gilbert but change this string
Dec 11, 2017
a59923d
[Web] /dashboard/management/maintainers
Dec 11, 2017
1a6034f
[Web] get your own updater scrub
Dec 11, 2017
5511c9a
[Web] String Update
Dec 11, 2017
f05cc63
[Web] Sudo Maintainer System Basics
Dec 11, 2017
2078249
[Web] The menu now reflects your Maintainer perms
Dec 11, 2017
78e6d27
[Web] Displaying Additional Perms instead of disabling them
Dec 11, 2017
b3c79ec
[*] Fix Travis and Update CODEOWNERS
Dec 11, 2017
36dd06d
[PMCommand/profile] Part 1.1: Do some tweaking!
Dec 11, 2017
daf1a76
[IPC] Remove unused code
Dec 11, 2017
bd27faf
[Web] /dashboard/management/logs
Dec 12, 2017
e7234bc
[Ready] Temp fix a Ready bug
Dec 12, 2017
7af42ec
[Web] /dashboard/management/eval
Dec 12, 2017
8b9a4f8
[IPC] Fix JSON parsing error
Dec 12, 2017
ec1f41d
[Dependencies] Updoots!
Dec 12, 2017
5785001
[SharedCommands/Events] Shared command system :tada:
Dec 12, 2017
562c8a4
[*] Fix Gilbert's observations
Dec 12, 2017
6f857ea
[GAB.MaintainerMessageHandler] Fix for canRunSharedCommand check
Dec 12, 2017
ebafc58
[Events] Remvoe reference to Database and fix bug
Dec 12, 2017
ad24bef
[Web] Blog fix
Dec 12, 2017
0924cbf
[*] GLOBALLLLSSSS
Dec 12, 2017
831d1c3
[Web] Fixes
Dec 12, 2017
fca0ab8
[MessageCreate] Fix bug
Dec 12, 2017
17fc170
[Web] configJSON Update fix
Dec 12, 2017
d0b0b9d
[Schema] Changes to strikes, that will allow good things.
Dec 15, 2017
058b9a8
[*] Fix mongoose $pushAll, make client.getCommandPrefix a non-promise
Dec 15, 2017
38301e5
[Mongoose] Due to mongoose updates, make sure to not use $pushAll..
Dec 15, 2017
6c526a3
[Fixes] Fix some bugs / New Bot added embed / Fix adding of roles if …
Dec 15, 2017
940cbe3
[*] Add a standard Constants file
Dec 15, 2017
accea77
[Encryption] New Encryption Module!
Dec 15, 2017
a9f7fd0
String updates
Dec 16, 2017
0788796
More string updates
Dec 16, 2017
4db6db7
Even more string updates
Dec 16, 2017
11a1544
[Encryption] Fix some small bugs
Dec 16, 2017
07ce533
[Events/Message] String Update + Massive bug fix
Dec 16, 2017
75191c0
Typo
Dec 16, 2017
5ba848b
[Commands] Make reload a shared command!
Dec 16, 2017
3aed23c
Wrong Check for reload
Dec 16, 2017
1bf7b10
Nleh, mistype
Dec 16, 2017
029a0da
Even more "even more string updates"
Dec 16, 2017
7a4a2bb
Some more string updates
Dec 16, 2017
cd46571
[IPC] Fix slight JSON error
Dec 16, 2017
d3b01f9
[Bugs] Fix random not being a function
Dec 16, 2017
bb8d167
[Events/MessageCreate] Fix undefined Constants, alias bugs, and rando…
Dec 16, 2017
c0cb5bf
[Commands/About] About command 97% done
Dec 16, 2017
28bc9e1
Part 2 of the about command
Dec 16, 2017
6888be8
[Commands/alert] Alert command is done
Dec 16, 2017
a733676
[*] Change line type from CRLF to LF
Dec 16, 2017
16c9156
[Web/Boot/Discord] /dashboard/management/shards
Dec 16, 2017
2799fdd
[Bugs/Client] Add client to commands, and fix eval gist
Dec 16, 2017
a63eb96
[Discord] Improvement, I guess
Dec 18, 2017
e72f118
[Dependencies] Another update
Dec 17, 2017
574c30e
[Discord.js] Fix undefined
Dec 17, 2017
9081f96
[Base Commands] Add constants to the docs
Dec 17, 2017
6050dac
[PMCommands] Fix bug gilbert found
Dec 18, 2017
d70f7e1
[WIP] Please ignroe
Dec 18, 2017
ab45a6e
[Web] Ooh, what is this?
Dec 18, 2017
94bb576
Update maintainer perm defaults
Dec 18, 2017
b2ad140
[Web] Some whitespace improvements
Dec 18, 2017
8e5e062
[Web] Woops
Dec 18, 2017
ee81efc
[Web] Even more whitespacing updates
Dec 18, 2017
54edbcd
[Github] Template updates
Dec 19, 2017
a66f389
[Cache] Fix bugs that Gilbert found
Dec 19, 2017
1a85bba
[Commands] about command updates
Dec 19, 2017
76881af
[Commands] Even more command updates
Dec 19, 2017
ee1b497
[Discord] Oof, bug fixes!
Dec 19, 2017
403f05f
[Sharder] Mode option for the future
Dec 19, 2017
0f1e86c
[Web] Fix /userlist bug
Dec 20, 2017
f8dff68
[Discord] They call me Gilbert, Dirty Gilbert
Dec 20, 2017
be788ef
[*] Clean Dirty Gilbert's.. Dirt
Dec 20, 2017
2a8c650
[Structures] Fix my dumb
Dec 20, 2017
d23892c
[Discord] They call me Gilbert, Dirty Gilbert
Dec 20, 2017
33b67fb
[Discord.js] Saw nothing
Dec 20, 2017
752ad87
[Trivia] Just me nitpicking.
Dec 20, 2017
8e11e8b
[Trivia] More nitpicks
Dec 21, 2017
aefee1a
[Eval] Fix some dumbs
Dec 21, 2017
35745cf
[Dependencies]
Dec 21, 2017
a3ca70c
[*] Move these
Dec 21, 2017
f354df1
[Cache/*] Fix cache issues
Dec 21, 2017
9fe23f5
[*] Gilbert shush
Dec 21, 2017
8e9d3e5
Woopsie daisy you did NOT see this
Dec 21, 2017
9fedd17
[DB] Shh
Dec 22, 2017
3804a4d
[*] Renamed the maintainer message handler to shared command handler
Dec 23, 2017
ac8db6d
[Commands] Moved Colors to the Constants file
Dec 23, 2017
426ee88
[Dependencies]
Dec 23, 2017
f8be998
[Commands/Utils] Reaction Menu and anime commands are done!
Dec 23, 2017
67033b4
[Configs] Update permission bits for the invite URL
Dec 23, 2017
e6f5361
[Discord.js] Less duplicated code
Dec 23, 2017
f735ed0
[Anime] Clean it up a bit
Dec 23, 2017
ad34eda
[*] Poll command, Relay Commands, so much more!
Dec 23, 2017
bc1ca45
[Anime] Nitpiks
Dec 23, 2017
198c7f1
[Deps]
Dec 23, 2017
de29536
[Commands] More work!
Dec 23, 2017
4deedf3
Woops, dun goofed!
Dec 23, 2017
1a3c674
Spacing
Dec 23, 2017
db28431
[Deps] Ignore yarn being dum
Dec 23, 2017
51ea308
Update PULL_REQUEST_TEMPLATE.md
Dec 24, 2017
4e80d04
[Evens/Message-SpamHandler] Fix a quite funny bug
Dec 24, 2017
4f85c43
[Commands/Avatar] Done did avatar
Dec 24, 2017
ac89870
[Commands/Web] The Public Poll command
Dec 24, 2017
437b609
[Updater] New ConfigWarning message
Dec 24, 2017
e91f2ca
[Public] ???
Dec 24, 2017
acd77ec
[ServerSchema] Add ban gif property
Dec 24, 2017
a755060
[Yarn] Ignore me
Dec 24, 2017
76dfa5a
[Utils] Fix isURL
Dec 24, 2017
d03fca1
[*] Ban command! Some work on modlogs!
Dec 24, 2017
2f20b58
Fix this
Dec 24, 2017
e7251e1
Color change!
Dec 24, 2017
e39d92d
[Message] Fix a bug where @bot help wouldn't respond if the chatterbo…
Dec 25, 2017
8c35d9f
Aliases!
Dec 25, 2017
1fb3a1f
[Ban] Make ban also make a modlog entry
Dec 25, 2017
bb0b8df
[Modlog] Fix some bugs
Dec 25, 2017
199fb78
[Web] Change the way we sort channels for things that require channels!
Dec 25, 2017
a2b82cb
[Commands.js] Slight tweaks, more to come!
Dec 25, 2017
b0c734b
[Web] More minor tweaks ala Vlag
Dec 25, 2017
7bc275f
[Ban] Fix sum bugs!
Dec 25, 2017
69c9668
[Avatar] Minor tweaks
Dec 25, 2017
02c7ae5
Avatar cmd but better!
Dec 25, 2017
025d875
QoL
Dec 25, 2017
b65e9cf
[*] Fix some bugs and make afk better!
Dec 25, 2017
c700949
QoL
Dec 25, 2017
75b59d6
[*] Fix some dumbs I made!
Dec 25, 2017
b03a5df
[Commands] giveaway!
Dec 25, 2017
d503d2d
Woops, I did a booboo
Dec 25, 2017
8f82dce
🤪
Dec 25, 2017
6fc36d4
[MessageCreate] Fix goof
Dec 25, 2017
244e6c5
[Calc] Calc command, done right!
Dec 26, 2017
4b0a0f4
[Ban] tf you write something and find a bug
Dec 26, 2017
97fde4b
[Calc] You take a ss and see that it would look better as no title
Dec 26, 2017
066d663
[Commands] Servernick!
Dec 26, 2017
5f6294f
[Commands] Calc, done worse
Dec 26, 2017
255ba6f
[Commands] Color constants
Dec 26, 2017
4acb9e1
[Cat] Meow!
Dec 26, 2017
da60541
[Modules] Add random dogs in the mix!
Dec 26, 2017
8f4f901
[Calc] But better! But still, Gilbert has to touch it!
Dec 26, 2017
8f6f92c
[*] Consistency
Dec 26, 2017
df5ac60
QoL
Dec 26, 2017
a72215d
[Ban] Mention the member if they're in the guild, in case theres mult…
Dec 26, 2017
69418fe
[*] Renames! From ChildProcessManagers and such to Workers
Dec 26, 2017
9b1693c
[Workers] Make the worker be one for each shard
Dec 26, 2017
30d1340
Update CODEOWNERS
Dec 27, 2017
3f976c7
[Commands/Web/Discord] giveaway
Dec 27, 2017
d52378c
[Web] Added reactivity to name-display
Dec 27, 2017
d0c2591
[catfact]!! Paginated menus! Fixes! Eggs?
Dec 27, 2017
503bf49
[Misc] Crazy idea: Move all API URLs to constants
Dec 27, 2017
ea3397c
Typo
Dec 27, 2017
88d64fd
[choose] Choose command done
Dec 27, 2017
bbb6bae
[Misc] Consistency
Dec 27, 2017
db829db
[Commands] Make Trivia more consistent
Dec 27, 2017
e623c2a
[Eslint] Uh, new line anyone?
Dec 27, 2017
4751edd
[Lottery] Consistent!
Dec 27, 2017
e78f3b6
[Lottery] Fix bug
Dec 27, 2017
059b502
[Web] Activity page bans!
Dec 27, 2017
3954cd9
[ConfigJSON] Updoots
Dec 27, 2017
ef19884
Public Data unbans & Socket.io fixes
Gilbert142 Dec 28, 2017
12a4df5
[Web] Ban gifs/customization!
Gilbert142 Dec 28, 2017
1a9796f
[Web] Save button updates
Gilbert142 Dec 28, 2017
4d5e160
[Web] Default buttons
Gilbert142 Dec 28, 2017
b528266
[Web] Help button update
Dec 28, 2017
10baf5e
[Commands] remindme
Dec 28, 2017
b662667
[Commands] say whaaat?
Dec 28, 2017
038a6de
[travis] Shut up
Dec 28, 2017
b69bf85
[ObjectDefines] Add trimAll to all arrays
Dec 28, 2017
d90aa1f
[Worker] Make winston global
Dec 28, 2017
bc08c97
[Modules] Out with this!
Dec 28, 2017
7a47b8a
[Dependencies] Updates!
Dec 28, 2017
0f52d64
[Mongoose] Prepare for mongoose v5 and fix some bugs
Dec 28, 2017
de67434
[Poll] Touched some embeds and done some Vlag-Approved optimization
Dec 28, 2017
423049a
[Commands] Tags! Done not-badly.
Dec 29, 2017
bdb44fb
[Commands] !?!?!?
Dec 29, 2017
f5321b9
[Utils] Markdown tables!
Dec 29, 2017
0d0789f
[tags] Fix some misc weird things.
Dec 29, 2017
8c8ce9f
Misc
Dec 29, 2017
bc2f94b
[Commands/Discord] ranks!
Dec 30, 2017
137dcd2
[Discord] pfft
Dec 30, 2017
74d6728
[Discord] pfft
Dec 30, 2017
0e89779
[PostData] Remove the DiscordBotOrg code, will implement using my module
Dec 30, 2017
c03a8da
NootNoot we've got new dependency updates boi
Dec 30, 2017
c1d01cf
[convert] Say waa?
Dec 30, 2017
4bbc0cc
[Misc] Fix copy paste
Dec 30, 2017
082220a
[commands.js] Small tweaks
Dec 30, 2017
fa8f479
[package.json] Improve the warning message for windows users only.
Dec 31, 2017
813f75f
[Travis] Fix travis for ReactionBasedMenu
Dec 31, 2017
3da1fa7
[convert] Fix dumbs
Dec 31, 2017
02a42f6
Convert rounds up cash
Dec 31, 2017
a18bf18
[Events] Use global value instead of this.configJSON
Dec 31, 2017
a9f0615
[Constants] Woopsies doosels
Dec 31, 2017
82ee4d2
[Commands] Count, and debug fixes
Dec 31, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 124 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
module.exports = {
extends: "eslint:recommended",
parserOptions: {
ecmaVersion: 2017,
},
env: {
es6: true,
node: true,
},
globals: {
winston: true,
},
rules: {
"no-await-in-loop": "warn",
"no-compare-neg-zero": "error",
"no-extra-parens": ["warn", "all", { "nestedBinaryExpressions": false }],
"no-template-curly-in-string": "error",
"no-unsafe-negation": "error",
"accessor-pairs": "warn",
"curly": ["error", "multi-line", "consistent"],
"dot-location": ["error", "property"],
"dot-notation": "error",
"eqeqeq": "error",
"no-empty-function": "error",
"no-floating-decimal": "error",
"no-implied-eval": "error",
"no-invalid-this": "error",
"no-lone-blocks": "error",
"no-multi-spaces": "error",
"no-new-func": "error",
"no-new-wrappers": "error",
"no-new": "error",
"no-octal-escape": "error",
"no-return-assign": "error",
"no-return-await": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-throw-literal": "error",
"no-unmodified-loop-condition": "error",
"no-unused-expressions": "error",
"no-useless-call": "error",
"no-useless-concat": "error",
"no-useless-escape": "error",
"no-useless-return": "error",
"no-void": "error",
"no-warning-comments": "warn",
"prefer-promise-reject-errors": "error",
"require-await": "warn",
"wrap-iife": "error",
"yoda": "error",
"no-label-var": "error",
"no-shadow": "error",
"no-undef-init": "error",
"callback-return": "error",
"handle-callback-err": "error",
"no-mixed-requires": "error",
"no-new-require": "error",
"no-path-concat": "error",
"array-bracket-spacing": "error",
"block-spacing": "error",
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"capitalized-comments": ["error", "always", { "ignoreConsecutiveComments": true }],
"comma-dangle": ["error", "always-multiline"],
"comma-spacing": "error",
"comma-style": "error",
"computed-property-spacing": "error",
"consistent-this": ["error", "$this"],
"eol-last": "error",
"func-names": "error",
"func-name-matching": "error",
"func-style": ["error", "declaration", { "allowArrowFunctions": true }],
"indent": ["error", "tab", { "SwitchCase": 1 }],
"key-spacing": "error",
"keyword-spacing": "error",
"max-depth": ["error", 8],
"max-len": ["error", 150, 2],
"max-nested-callbacks": ["error", { "max": 4 }],
"max-statements-per-line": ["error", { "max": 2 }],
"new-cap": "off",
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 3 }],
"no-array-constructor": "error",
"no-inline-comments": "error",
"no-lonely-if": "error",
"no-mixed-operators": "error",
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF": 0 }],
"no-new-object": "error",
"no-spaced-func": "error",
"no-trailing-spaces": "error",
"no-unneeded-ternary": "error",
"no-whitespace-before-property": "error",
"nonblock-statement-body-position": "error",
"object-curly-spacing": ["error", "always"],
"operator-assignment": "error",
"operator-linebreak": ["error", "after"],
"padded-blocks": ["error", "never"],
"quote-props": ["error", "as-needed"],
"quotes": ["error", "double", { "avoidEscape": true, "allowTemplateLiterals": true }],
"semi-spacing": "error",
"semi": "error",
"space-before-blocks": "error",
"space-before-function-paren": ["error", "never"],
"space-in-parens": "error",
"space-infix-ops": "error",
"space-unary-ops": "error",
"spaced-comment": "error",
"template-tag-spacing": "error",
"unicode-bom": "error",
"arrow-body-style": "error",
"arrow-parens": ["error", "as-needed"],
"arrow-spacing": "error",
"no-duplicate-imports": "error",
"no-useless-computed-key": "error",
"no-useless-constructor": "error",
"prefer-arrow-callback": "error",
"prefer-numeric-literals": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"prefer-template": "error",
"rest-spread-spacing": "error",
"template-curly-spacing": "error",
"no-console": "off",
"no-irregular-whitespace": ["error", { "skipStrings": true, "skipComments": true, "skipTemplates": true }],
},
};
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Configuration/config.json
Configuration/auth.json
Configurations/config.json
Configurations/config.js
Configurations/auth.js
Extensions/
node_modules/
package-lock.json
bot-out.log
logs/
Loading