Kile / Killua

Source code for the discord bot Killua
https://killua.dev
GNU General Public License v3.0
36 stars 6 forks source link

📦 switching to dpy 2.0, new help command, fixes #566

Closed Kile closed 3 years ago

Kile commented 3 years ago

This pr does not add a lot but fixes numerous bugs, cleans up messy code and starts using discord.py 2.0 using it's functionalities

This PR adds:

This PR changes:

This PR fixes:

All these changes and features have been tested

How commands have been changed for the help command:

- @commands.command()
+ @commands.command(extras={"category": Category.FUN}, usage="img <query>")
async def img(self, ctx, *, query:str):
-   #h Search for any image you want
-   #u img <query>
+   """Search for any image you want"""
    ...

TLDR; Killua switched to d.py 2.0 and uses prettier menus, plus is cleaner internally. It has a more appealing help command and had some bugs fixed.

lgtm-com[bot] commented 3 years ago

This pull request introduces 8 alerts when merging 2ad2c68e6c14b54e72388a9e1f4c45c803f2ceac into 80b5b49134cca179bad54b3287eae2dd2471a78f - view on LGTM.com

new alerts:

lgtm-com[bot] commented 3 years ago

This pull request fixes 11 alerts when merging 321f0bb2ae0d3a4b0381fb5f621170aea1144c12 into 80b5b49134cca179bad54b3287eae2dd2471a78f - view on LGTM.com

fixed alerts:

Kile commented 3 years ago

Good enough