Skip to content

Commit 015abf1

Browse files
committed
fix of some texts
1 parent 551e9c8 commit 015abf1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

botogram/objects/mixins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def send_poll(self, question, *kargs, reply_to=None, extra=None,
383383
@_require_api
384384
def send_dice(self, emoji=None, reply_to=None, extra=None, attach=None,
385385
notify=True):
386-
"""Send a message"""
386+
"""Send a dice"""
387387
args = self._get_call_args(reply_to, extra, attach, notify)
388388
if emoji is not None:
389389
args["emoji"] = emoji
@@ -621,7 +621,7 @@ def reply_with_poll(self, *args, **kwargs):
621621

622622
@_require_api
623623
def reply_with_dice(self, *args, **kwargs):
624-
"""Reply with a poll to the current message"""
624+
"""Reply with a dice to the current message"""
625625
return self.chat.send_dice(*args, reply_to=self, **kwargs)
626626

627627
@_require_api

docs/api/telegram.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,7 +1530,7 @@ about its business.
15301530
15311531
Use this method to send a dice, which will have a random value from 1 to 6
15321532

1533-
:param str emoji: Emoji on which the dice throw animation is based. Currently, must be one of “🎲” or “🎯”. Defauts to “🎲”
1533+
:param str emoji: Emoji on which the dice throw animation is based. Currently, must be either “🎲”, “🎯” or "🏀". Defaults to “🎲”
15341534
:param int reply_to: The ID of the :py:class:`~botogram.Message` this one is replying to
15351535
:param object attach: An extra thing to attach to the message
15361536
:param object extra: An extra reply interface object to attach
@@ -2555,7 +2555,7 @@ about its business.
25552555
25562556
Use this method to reply with a dice, which will have a random value from 1 to 6
25572557

2558-
:param str emoji: Emoji on which the dice throw animation is based. Currently, must be one of “🎲” or “🎯”. Defauts to “🎲”
2558+
:param str emoji: Emoji on which the dice throw animation is based. Currently, must be either “🎲”, “🎯” or "🏀" . Defaults to “🎲”
25592559
:param object attach: An extra thing to attach to the message
25602560
:param object extra: An extra reply interface object to attach
25612561
:param bool notify: If you want to trigger a notification on the client

0 commit comments

Comments
 (0)