Beispiel #1
0
 async def rotation(self, client: Client, channel: Channel,
                    **_: Dict[str, Any]) -> None:
     """`!rotation` Give the date of the next Penny Dreadful rotation."""
     await client.send_message(channel, rotation.text())
Beispiel #2
0
 async def rotation(self, bot, channel):
     """`!rotation` Give the date of the next Penny Dreadful rotation."""
     await bot.client.send_message(channel, rotation.text())
Beispiel #3
0
 def rotation_text(self) -> str:
     return rotation.text()
Beispiel #4
0
 def rotation_text(self):
     return rotation.text()
Beispiel #5
0
 async def rotation(self, channel: TextChannel, **_: Dict[str,
                                                          Any]) -> None:
     """`!rotation` Give the date of the next Penny Dreadful rotation."""
     await channel.send(rotation.text())