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

docs: remove duplicate entries for bot.{name,nick,user} #1857

Merged
merged 1 commit into from
May 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions docs/source/bot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,5 @@ The bot and its state
:members:
:inherited-members:

.. py:attribute:: nick

Sopel's current nick. Changing this while Sopel is running is unsupported.

.. py:attribute:: user

Sopel's user/ident.

.. py:attribute:: name

Sopel's "real name", as used for whois.


.. autoclass:: sopel.bot.SopelWrapper
:members:
7 changes: 5 additions & 2 deletions sopel/irc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ def __init__(self, settings):

@property
def nick(self):
"""Sopel's current ``Identifier``."""
"""Sopel's current nick.

Changing this while Sopel is running is unsupported.
"""
return self._nick

@property
Expand All @@ -102,7 +105,7 @@ def user(self):

@property
def name(self):
"""Sopel's "real name", to be displayed in WHOIS responses."""
"""Sopel's "real name", as used for WHOIS responses."""
return self._name

@property
Expand Down