make people that are not makayla bonkable
This commit is contained in:
parent
6c299e6bc9
commit
bd6162e955
6
bot.py
6
bot.py
|
|
@ -284,10 +284,12 @@ def cmd_still(match: Match[str]) -> Response:
|
||||||
|
|
||||||
@handle_message('!bonk', flags=re.IGNORECASE)
|
@handle_message('!bonk', flags=re.IGNORECASE)
|
||||||
def cmd_bonk(match: Match[str]) -> Response:
|
def cmd_bonk(match: Match[str]) -> Response:
|
||||||
|
_, _, rest = match['msg'].partition(' ')
|
||||||
|
rest = rest.strip() or 'Makayla_Fox'
|
||||||
return MessageResponse(
|
return MessageResponse(
|
||||||
match,
|
match,
|
||||||
'Makayla_Fox: '
|
f'{esc(rest)}: '
|
||||||
'https://i.fluffy.cc/DM4QqzjR7wCpkGPwTl6zr907X50XgtBL.png',
|
f'https://i.fluffy.cc/DM4QqzjR7wCpkGPwTl6zr907X50XgtBL.png',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue