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

Plugin improvment #231

Open
Arkaeriit opened this issue Aug 9, 2024 · 1 comment
Open

Plugin improvment #231

Arkaeriit opened this issue Aug 9, 2024 · 1 comment

Comments

@Arkaeriit
Copy link
Collaborator

The current state of plugin is quite good but I feel like there is some aspect that could be improved.

Info gotten by the plugins

The info plugins get is quite okay, but there is some feature that would benefit additional info:

  • user ID: plugin could really use knowing the ID of user posting
  • is the user an admin
  • user colors (not very sure about that one)

Info transmitted by the plugin

It would be nice if plugin could send more info to the server like additional documentation, a link to the plugin's repo or stuff like that. That info could be fetched by users with the man command, or some extension of the plugins command.

Knowing from Devzat what plugins are here would be very nice and suppress the need for issue #206

Admin tools

Currently admins have very little way of managing a misbehaving plugin. It would be very handy to list every active plugin, the token they use, and the last time they sent a message or modified one. That way, if a plugin notice that a plugin is misbehaving they can revoke its token without worry of causing harm to a wrong token.

What's your opinion on that @quackduck?

@quackduck
Copy link
Owner

quackduck commented Aug 9, 2024

Great ideas.

Info gotten by the plugins

Completely agree that we can send more user info to plugins

Info transmitted by the plugin

I believe plugins are already required to register args info and a small description. I think it would be good to set a convention of commands like --help or --version having the output one would expect from a CLI tool with links etc.

Admin tools

Agree with everything here. Definitely needed.

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

No branches or pull requests

2 participants