chore: clean up
This commit is contained in:
parent
3b087369fa
commit
26e526d124
2 changed files with 0 additions and 2 deletions
|
@ -79,7 +79,6 @@ class TelegramAdapter:
|
||||||
)
|
)
|
||||||
|
|
||||||
await self.dp.start_polling(bot)
|
await self.dp.start_polling(bot)
|
||||||
print(await bot.get_updates())
|
|
||||||
|
|
||||||
|
|
||||||
async def main() -> None:
|
async def main() -> None:
|
||||||
|
|
|
@ -9,7 +9,6 @@ async def handle_unpin_channel_message(message: Message):
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
regex_pattern = config.get_feature_config('unpin', message.chat.id)['regex']
|
regex_pattern = config.get_feature_config('unpin', message.chat.id)['regex']
|
||||||
print(regex_pattern)
|
|
||||||
# If a regex pattern exists, check if the message matches
|
# If a regex pattern exists, check if the message matches
|
||||||
if regex_pattern:
|
if regex_pattern:
|
||||||
import re
|
import re
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue