Skip to content

Commit a035b7f

Browse files
committed
Fixing the PR
1 parent 7efe9ad commit a035b7f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

botogram/objects/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"Poll",
6464
"PollOption",
6565

66-
#Dice-related objects
66+
# Dice-related objects
6767
"Dice",
6868

6969
# Updates-related objects

botogram/objects/media.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ class VideoNote(BaseObject, mixins.FileMixin):
309309
class Dice(BaseObject):
310310
"""Telegram API representation of a venue
311311
312-
https://core.telegram.orgf/bots/api#dice
312+
https://core.telegram.org/bots/api#dice
313313
"""
314314

315315
required = {

docs/api/telegram.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ about its business.
15281528

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

15331533
: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

docs/changelog/0.7.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ New features
2525
* New attribute :py:attr:`botogram.Message.dice`
2626
* New method :py:meth:`botogram.Chat.send_dice`
2727
* New method :py:meth:`botogram.User.send_dice`
28-
* New method :py:meth:`botogram.Message.reply_with_gif`
28+
* New method :py:meth:`botogram.Message.reply_with_dice`
2929

3030

3131
* Added support for animations (GIFs)

0 commit comments

Comments
 (0)