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

Add Context Menu command for Whois #868

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

dkay0670
Copy link
Contributor

Add Context Menu command for Whois

@ajax146
Copy link
Contributor

ajax146 commented Feb 13, 2024

The /whois command has the following check:

@app_commands.check(is_reader)

But since the context menu command is run differently, this doesn't work there

The is_reader function should be removed from the app_commands.check and moved into the get_note_command, so it checks equally on both the context menu and slash command calls

Additionally, can you add an empty line at the bottom of the .gitignore file?

@dkay0670 dkay0670 force-pushed the patch-who branch 2 times, most recently from 74c4652 to 8700ae8 Compare February 13, 2024 15:56
Copy link
Contributor

@TheKrol TheKrol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't work with no reader set.

@ajax146
Copy link
Contributor

ajax146 commented Jul 5, 2024

@dkay0670 @TheKrol What is the status on this?

@dkay0670
Copy link
Contributor Author

dkay0670 commented Jul 5, 2024 via email

@dkay0670
Copy link
Contributor Author

dkay0670 commented Jul 5, 2024

nvm wrong pr, I just need to fix it, I'll set myself a reminder

@ajax146
Copy link
Contributor

ajax146 commented Jul 5, 2024

You should just ignore the test on the other one, I am reworking all the tests, to make them actually useful. It will fix the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants