Skip to content

Commit e9ff044

Browse files
committed
Unfix buttons
1 parent ca6ba78 commit e9ff044

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/buttons.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ information about them.
3434
btns = botogram.Buttons()
3535
btns[0].url("Visit example.com", "http://www.example.com")
3636
btns[1].url("example.net", "http://www.example.net")
37-
btns[2].url("example.org", "http://www.example.org")
37+
btns[1].url("example.org", "http://www.example.org")
3838
3939
chat.send("Check out some example sites!", attach=btns)
4040
@@ -71,7 +71,7 @@ information about them.
7171
7272
btns = botogram.Buttons()
7373
btns[0].callback("Commit changes", "commit")
74-
btns[1].callback("Checkout master", "checkout", "master")
74+
btns[0].callback("Checkout master", "checkout", "master")
7575
7676
:param str label: The label of the button shown to the user
7777
:param str callback: The internal name of the callback

0 commit comments

Comments
 (0)