예제 #1
0
 def dm_scheduled(self, msg: Message):
     """dm reply scheduled: the bot replies to you at a later moment, in a DM"""
     msg.reply_dm("wait for it")
     dt = datetime.now() + timedelta(seconds=5)
     msg.reply_dm_scheduled(
         dt, "sure I'll reply to you in a DM after 5 seconds")
예제 #2
0
 def dm(self, msg: Message):
     """dm reply: the bot replies to you in a DM"""
     msg.reply_dm("sure I'll reply to you in a DM")