mirror of
https://github.com/Mikaela/Limnoria-doc.git
synced 2024-11-23 04:29:32 +01:00
plugin_tutorial: reflect changes made to __contributors__ handling
This commit is contained in:
parent
b057b39e33
commit
4978d30922
@ -135,11 +135,11 @@ main dev, muahaha), I would do::
|
|||||||
Keep this in mind as we get to the next item...
|
Keep this in mind as we get to the next item...
|
||||||
|
|
||||||
``__contributors__`` is a dictionary mapping supybot.Author instances to lists
|
``__contributors__`` is a dictionary mapping supybot.Author instances to lists
|
||||||
of things they contributed. If someone adds a command named foo to your
|
of things they contributed. For example, if someone adds a command named ``foo``
|
||||||
plugin, the list for that author should be ``["foo"]``, or perhaps even
|
to your plugin, the list for that author could be ``["added foo command"]``.
|
||||||
``["added foo command"]``. The main author shouldn't be referenced here, as it
|
The main author shouldn't be referenced here, as it is assumed that everything
|
||||||
is assumed that everything that wasn't contributed by someone else was done by
|
that wasn't contributed by someone else was done by the main author.
|
||||||
the main author. For now we have no contributors, so we'll leave it blank.
|
For now we have no contributors, so we'll leave it blank.
|
||||||
|
|
||||||
Lastly, the ``__url__`` attribute should just reference the download URL for
|
Lastly, the ``__url__`` attribute should just reference the download URL for
|
||||||
the plugin. Since this is just an example, we'll leave this blank.
|
the plugin. Since this is just an example, we'll leave this blank.
|
||||||
|
Loading…
Reference in New Issue
Block a user