-
-
Notifications
You must be signed in to change notification settings - Fork 185
Release 4.1.0 | Aesthetic, functionality changes and a rewrite #184
Conversation
Mark my words @GilbertGobbels if you don't do a full check on all the code and commands I'll kill you! |
|
O kurva..... |
Hey @GilbertGobbels promise me that you will respect the eslint rules or I'll personally setup travis and tests for eslint which will prevent PR's from merging unless rules are met:tm:
|
Wasn't eslint, i just did it cause
|
Need to rewrite the main message.. fuck |
Discord.js
Outdated
/* eslint-disable max-len */ | ||
module.exports = (db, configJS, configJSON) => { | ||
// Create a Discord.js Bot Client | ||
const Discord = require("discord.js"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rip eris in gab 2016(?) - 2017.
10/10 that was either a sarcastic thanks, or a legit thanks 🤣 |
When codacity will bang us 😂 |
Version 4.1 it is! 🎉 |
And bumb dependencies
The text really loved sticking to itself. Now it listens like a good boi
Made the ranks command, cleaned up checkRank, fixed a logMessage bug.
Convert your currency or your length...if that's what you're into.. You'll need an Open Exchange Rate Key (which is free, for 1000 queries per month) We also cache the results in a local JSON, so while the results at boot may be outdated (they will update over time), you won't go nuts on your usage quota!
Calculating conversions. :lul:
Now with more colors! Awooo
Because it doesn't update properly. @KingDGrizzle update the rest please!
I guess done @GilbertGobbels? |
Please note that this can be counted as |
that reminds me of the thing that I should work on #202 |
Things to consider
This version changes everything. You will have to update your values from
config.json
andauth.json
to their respective JS counterparts.You will also notice 1 pre-assigned API key in
auth.js
, and thats no mistake.Warning
Do NOT Run this branch. Don't. At the time of writing this (or rewriting), the bot has NO core features available. Its a full rewrite. Wait till I'll edit this and tell you you may go ahead and give it a test run, at your own risk.
And, if you find any bugs, or you'd like a code refactor, drop a comment.
The aim of this Pull Request
This Pull Request is aimed to rewrite and improve the bot. Everything will look better, should work faster, and best of all, everything should and will work.
What does this Pull Request Contain
A full bot rewrite, to Discord.js
Improvements to the command looks and feel
Addition of smaller things
A new god damn Extension API
Current Progress
Delete the old files
Rewrite the main base, using
async
Port all of the commands
Fix broken shit (
giveaway
,lottery
,MOTD constantly repeating
etc)Test things
Pray to Vlag
Old Credit should go where its due
(This is here for consistency, these credits affect the old Eris commits)
Thanks TTtie ( @TTtie ) for the help provided with the
GetUserWithoutREST
, helping me test theinfo
command due to me refactoring some code and with the inspiration for thedebug
command