Skip to content

Commit

Permalink
Fixing the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoBuster committed Sep 2, 2020
1 parent 7efe9ad commit a035b7f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion botogram/objects/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"Poll",
"PollOption",

#Dice-related objects
# Dice-related objects
"Dice",

# Updates-related objects
Expand Down
2 changes: 1 addition & 1 deletion botogram/objects/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class VideoNote(BaseObject, mixins.FileMixin):
class Dice(BaseObject):
"""Telegram API representation of a venue
https://core.telegram.orgf/bots/api#dice
https://core.telegram.org/bots/api#dice
"""

required = {
Expand Down
2 changes: 1 addition & 1 deletion docs/api/telegram.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ about its business.

.. py:method:: send_dice([emoji=None, reply_to=None, extra=None, attach=None, notify=True])
Use this method to send a dice, which will have a random value from 1 to 6
Use this method to send a dice, which will have a random value from 1 to 6 for “🎲”, “🎯” and from 1 to 5 for "🏀".

:param str emoji: Emoji on which the dice throw animation is based. Currently, must be either “🎲”, “🎯” or "🏀". Defaults to “🎲”
:param int reply_to: The ID of the :py:class:`~botogram.Message` this one is replying to
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog/0.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ New features
* New attribute :py:attr:`botogram.Message.dice`
* New method :py:meth:`botogram.Chat.send_dice`
* New method :py:meth:`botogram.User.send_dice`
* New method :py:meth:`botogram.Message.reply_with_gif`
* New method :py:meth:`botogram.Message.reply_with_dice`


* Added support for animations (GIFs)
Expand Down

0 comments on commit a035b7f

Please sign in to comment.