Skip to content

Commit

Permalink
bot: tweak some deprecation annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
dgw committed May 15, 2019
1 parent a2e7378 commit 165d297
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sopel/bot.py
Original file line number Diff line number Diff line change
@@ -101,7 +101,7 @@ def __init__(self, config, daemon=False):
constants from :mod:`sopel.module`.
.. deprecated:: 6.2.0
Use :attr:`channels` instead.
Use :attr:`channels` instead. Will be removed in Sopel 8.
"""

self.channels = tools.SopelMemory() # name to chan obj
@@ -362,8 +362,8 @@ def join(self, channel, password=None):
@deprecated
def msg(self, recipient, text, max_messages=1):
"""
.. deprecated:: v6.0.0a5
Will be removed in Sopel 8.
.. deprecated:: 6.0
Use :meth:`say` instead. Will be removed in Sopel 8.
"""
self.say(text, recipient, max_messages)

0 comments on commit 165d297

Please sign in to comment.