-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor front-end. Add support for discord.ext, command_config.json and feedback label. #5
Conversation
The code is quite similar with |
825645a: How does this class look? Lines 189 to 273 in 825645a
If it is good, I'll take that and refactor some more later in the file: Lines 316 to 379 in 825645a
|
What we currently need/use the bot for:
This keeps the commands to a manageable number, reduces the paths needed for current requirement. |
On top of my head:
Basically I eliminated That's all I can remember, it's 03:15 😪 |
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.
partial review. Already looks a lot better 😄
@kunaltyagi Current status: After it gets working, I'll address the remaining changes. Edit: |
I've made this a draft. Ping me when you think I should take a look 😄 |
@kunaltyagi
|
22006f0
to
f3ced82
Compare
I guess it's enough for this PR, more for the bot later. |
Can you update the PR description? |
@kunaltyagi |
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.
I'd suggest black here, because you're touching almost all lines anyways. Another option:
- Separate PR for black, let that merge first
- Same config here
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.
Looks very good to me
Squash as needed and ping back. Thanks for the effort you've put in this @divmadan |
Conflicts here |
Good to go! |
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.
I've not testing this locally, but the code (in theory) looks good. Will be back after testing.
- add command support from discord.ext - add feedback support - add noun support
solves #nothing 😆