Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit bee65b0

Browse files
committed
small issue fix
1 parent c0e6bd6 commit bee65b0

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@
33
https://pypi.org/project/discord-py-buttons/
44

55

6-
## Hello there
6+
## Introduction
77

88
This is a [discord.py](https://github.com/Rapptz/discord.py) button extension made by [404kuso](https://github.com/404kuso) and [RedstoneZockt](https://github.com/RedstoneZockt), which you can use until discord.py v2.0 is out
99

1010
> We got some features for you like **send buttons**, **receive a press** and **edit messages** with buttons and everything is compatible with discord.py
1111
1212

13+
## License
14+
15+
This project is under MIT License
16+
17+
1318
- - -
1419
# Index
1520

@@ -682,6 +687,14 @@ Added events for `client.wait_for` and `client.listen`
682687

683688
# Changelog
684689

690+
- <details>
691+
<summary>1.1.2</summary>
692+
693+
### **Fixed**
694+
- Small code fixes
695+
696+
</details>
697+
685698
- <details>
686699
<summary>1.1.1</summary>
687700

discord_py_buttons/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
from .buttons import Button, LinkButton, Colors
33
from .receive import ResponseMessage, Message, PressedButton
44

5-
__version__ = "1.1.1"
5+
__version__ = "1.1.2"

discord_py_buttons/receive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def _update_components(self, data):
220220
self.buttons.append(Button._fromData(data["components"][0]["components"][0]) if "url" not in data["components"][0]["components"][0] else LinkButton._fromData(data["components"][0]["components"][0]))
221221
def _update(self, data):
222222
super()._update(data)
223-
self._update_components
223+
self._update_components(data)
224224

225225
async def edit(self, *, content: str = None, embed: discord.Embed = None, embeds: List[discord.Embed] = None, attachments: List[discord.Attachment] = None, suppress: bool = None, delete_after: float = None, allowed_mentions: discord.AllowedMentions = None, buttons: List[Button or LinkButton] = None):
226226
"""

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
def getVersion():
6-
with open("./discord_buttons/__init__.py", "r", encoding="utf-8") as f:
6+
with open("./discord_py_buttons/__init__.py", "r", encoding="utf-8") as f:
77
return [f for f in f.readlines() if f.startswith("__version__")][0].split('"')[1].split('"')[0]
88
def getReadme():
99
with open("./README.md", "r", encoding="utf-8") as f:

0 commit comments

Comments
 (0)