PycordViews 1.0.1__py3-none-any.whl → 1.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {PycordViews-1.0.1.dist-info → PycordViews-1.0.2.dist-info}/METADATA +1 -1
- {PycordViews-1.0.1.dist-info → PycordViews-1.0.2.dist-info}/RECORD +6 -6
- pycordViews/views/easy_modified_view.py +9 -4
- {PycordViews-1.0.1.dist-info → PycordViews-1.0.2.dist-info}/LICENSE +0 -0
- {PycordViews-1.0.1.dist-info → PycordViews-1.0.2.dist-info}/WHEEL +0 -0
- {PycordViews-1.0.1.dist-info → PycordViews-1.0.2.dist-info}/top_level.txt +0 -0
@@ -4,10 +4,10 @@ pycordViews/pagination/__init__.py,sha256=Z9BcdoTWyC1KXGwQ1_C0tu9rkZpdrrjEHwMmjX
|
|
4
4
|
pycordViews/pagination/errors.py,sha256=CYb5gBcXx0kYDUDkNpfUrqSxQAcJE_qfpomWtUFOsTk,316
|
5
5
|
pycordViews/pagination/pagination_view.py,sha256=ppcQ6e3RFlw9YXoRF_mRdVi4Pf4EomHWUMDtGxwTDbI,4267
|
6
6
|
pycordViews/views/__init__.py,sha256=yligptZmw-np8tjKLr76SVmi0807Nk6jCyKkKYLhbCY,89
|
7
|
-
pycordViews/views/easy_modified_view.py,sha256=
|
7
|
+
pycordViews/views/easy_modified_view.py,sha256=7cLMKSx92xqT0c74gssgBfFUNBOsc7M4sSrrXwPmVtc,7835
|
8
8
|
pycordViews/views/errors.py,sha256=0NBjBDaSFZChJua1ho9qyfbNzwXy1U6Kcob5CCUxBK8,218
|
9
|
-
PycordViews-1.0.
|
10
|
-
PycordViews-1.0.
|
11
|
-
PycordViews-1.0.
|
12
|
-
PycordViews-1.0.
|
13
|
-
PycordViews-1.0.
|
9
|
+
PycordViews-1.0.2.dist-info/LICENSE,sha256=lNgcw1_xb7QENAQi3uHGymaFtbs0RV-ihiCd7AoLQjA,1082
|
10
|
+
PycordViews-1.0.2.dist-info/METADATA,sha256=0L5TlXIHwBlzsFq0FztkoSgimrTJPRCVxu7wppEQbBI,2077
|
11
|
+
PycordViews-1.0.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
12
|
+
PycordViews-1.0.2.dist-info/top_level.txt,sha256=oPtEDovMPk2PEh7P6fY3IAXvCbmwnG3sbcFIAyljb-Y,53
|
13
|
+
PycordViews-1.0.2.dist-info/RECORD,,
|
@@ -238,11 +238,16 @@ class EasyModifiedViews(View):
|
|
238
238
|
"""
|
239
239
|
Update the View on the attached message.
|
240
240
|
"""
|
241
|
-
|
242
|
-
await self.message.edit(view=self)
|
241
|
+
try:
|
243
242
|
|
244
|
-
|
245
|
-
|
243
|
+
if self.message:
|
244
|
+
await self.message.edit(view=self)
|
245
|
+
|
246
|
+
else:
|
247
|
+
await self.__ctx.edit(view=self)
|
248
|
+
|
249
|
+
except:
|
250
|
+
pass
|
246
251
|
|
247
252
|
@property
|
248
253
|
def get_uis(self) -> list[T_views]:
|
File without changes
|
File without changes
|
File without changes
|