AWeirdDev / linelib

🚀 The simple yet perfect solution to launch your bot to the next level.
https://google.com/search?q=hello
MIT License
6 stars 0 forks source link

[Feature Request] Ability to disable command not found loggings #13

Open charlie-moomoo opened 1 year ago

charlie-moomoo commented 1 year ago

What happened?

Now, if a command is not found, it will log these: image We should be able to disable them, it's annoying to see it logging messages from my parents' line group.

By the way, the feature request form is not working, so I'm using a bug report form instead.

Version

v0.1

Relevant log output

No response

Just to make sure...

AWeirdDev commented 1 year ago

Yes, it's possible to disable it, yet it's not documentated. If you're using the latest version:

class EasterEgg(Cog):
    show_not_found_log = False # by default
    ... # commands

Source


Reminder: Although linelib still works, it is not recommended due to its:

It'd be better if you chose to use LineX.

LineX also supports commands and is >50% faster.

Best, awd

charlie-moomoo commented 1 year ago

I tested it, and it's not working. Why?

AWeirdDev commented 1 year ago

PyPi version is probably a "wontfix." Please just try out LineX instead, since this project will no longer be maintained. There won't be any migration docs, so if you have any inquries, feel free to ask.

Best, awd