release-1.0.0
DustyP 8 years ago
parent 34183adcfb
commit 2773de1503

@ -359,12 +359,12 @@ class Book:
if self._message: if self._message:
await self._message.edit(content=None, embed=self._pages[self._current_page]) await self._message.edit(content=None, embed=self._pages[self._current_page])
else: else:
await self._channel.send(embed=self._pages[self._current_page]) self._message = await self._channel.send(embed=self._pages[self._current_page])
else: else:
if self._message: if self._message:
await self._message.edit(content=self._pages[self._current_page], embed=None) await self._message.edit(content=self._pages[self._current_page], embed=None)
else: else:
await self._channel.send(self._pages[self._current_page]) self._message = await self._channel.send(self._pages[self._current_page])
async def create_book(self) -> None: async def create_book(self) -> None:
# noinspection PyUnresolvedReferences # noinspection PyUnresolvedReferences

Loading…
Cancel
Save