Skip to content

Commit

Permalink
Операция "урм урм урм урм update"
Browse files Browse the repository at this point in the history
Добавляет шансы на выпадение "урм урм урм урм" и "уям уям уям уям" для соответствующего стикера.
  • Loading branch information
ArtyomKor committed Jan 8, 2025
1 parent e79f5db commit 0320cac
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions plugins/incs2chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,14 @@ async def filter_via_bot(_, message: Message):
async def meow_meow_meow_meow(_, message: Message):
chance = random.random()

if message.sticker.file_unique_id == 'AgADtD0AAu4r4Ug':
if chance < 0.025:
await message.reply('гав гав гав гав')
elif chance < 0.075:
await message.reply('мяу мяу мяу мяу')
match message.sticker.file_unique_id:
case 'AgADtD0AAu4r4Ug':
if chance < 0.025:
await message.reply('гав гав гав гав')
elif chance < 0.075:
await message.reply('мяу мяу мяу мяу')
case "AQADQ1wAAvi0sEty":
if chance < 0.025:
await message.reply('уям уям уям уям')
elif chance < 0.075:
await message.reply('урм урм урм урм')

0 comments on commit 0320cac

Please sign in to comment.