Closed SnoopJ closed 1 year ago
we should say that the single-file plugin type may not work this way, because it may not be importable
I'd love to see information of this sort added to Sopel, but I think it's a deeper subject than the warning I wanted to add in this case. I figure that users who are importing not-a-builtin-plugin are probably going to find out about the distinction anyway, and I'm not really sure how to expand this section to tackler the larger subject of how one might go about locating and importing plugins.
Do you think it makes sense to file a separate issue for fleshing out the subject?
It's an advanced tips & tricks section, we can direct the reader to more resources without having to explain everything. Beside, there is an explanation about single-file plugin already. I don't think it's that deeper that it requires another issue: a single line in this section is enough in my opinion.
Description
This changeset adds an example to the "tips and tricks" for plugins of importing another plugin and re-using a command from therein, as well as a warning about the potential for the duplication problem described in #2488.
Checklist
make qa
(runsmake quality
andmake test
)