We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e71311 commit bc092e5Copy full SHA for bc092e5
README.rst
@@ -100,9 +100,9 @@ Example
100
101
102
class SampleView(View):
103
- def __init__(self):
104
- super().__init__()
105
- self.view_model = SampleViewModel()
+ def __init__(self, bot):
+ super().__init__(bot)
+ self.view_model = SampleViewModel(bot)
106
107
async def add_reaction(self):
108
await self.get_message().add_reaction("\U0001f44d")
discord/ext/ui/__init__.py
@@ -9,4 +9,4 @@
9
from .select_option import SelectOption
10
11
12
-__version__ = "1.1.4"
+__version__ = "1.1.5a"
0 commit comments