Skip to content

Commit 7216261

Browse files
authored
Update bot.py
1 parent e69b41b commit 7216261

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ async def start(self):
3636
try:
3737
db_channel = await self.get_chat(CHANNEL_ID)
3838
self.db_channel = db_channel
39+
test = await self.send_message(chat_id = db_channel.id, text = "Test Message")
40+
await test.delete()
3941
except Exception as e:
4042
self.LOGGER(__name__).warning(e)
4143
self.LOGGER(__name__).warning("Make Sure bot is Admin in DB Channel, and Double check the CHANNEL_ID Value")

0 commit comments

Comments
 (0)