示例#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())
示例#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())
示例#3
0
 def rotation_text(self) -> str:
     return rotation.text()
示例#4
0
 def rotation_text(self):
     return rotation.text()
示例#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())