Skip to content
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

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

Open
1 task done
charlie-moomoo opened this issue Sep 22, 2023 · 3 comments
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

@charlie-moomoo
Copy link

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...

  • I've checked other issues, and this is not a repeated report.
@charlie-moomoo charlie-moomoo added the bug Something isn't working label Sep 22, 2023
@AWeirdDev
Copy link
Owner

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:

  • slow speed (ping > 1000ms)
  • insecure source code
  • doesn't coverage more APIs than LineX

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

LineX also supports commands and is >50% faster.

Best,
awd

@charlie-moomoo
Copy link
Author

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

@AWeirdDev
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants