add !bonk command
This commit is contained in:
parent
09ac31ebb8
commit
9619893ed7
9
bot.py
9
bot.py
|
|
@ -282,6 +282,15 @@ def cmd_still(match: Match[str]) -> Response:
|
||||||
return MessageResponse(match, f'{esc(rest)}, in {year} - {lol}!')
|
return MessageResponse(match, f'{esc(rest)}, in {year} - {lol}!')
|
||||||
|
|
||||||
|
|
||||||
|
@handle_message('!bonk')
|
||||||
|
def cmd_bonk(match: Match[str]) -> Response:
|
||||||
|
return MessageResponse(
|
||||||
|
match,
|
||||||
|
'Makayla_Fox: '
|
||||||
|
'https://i.fluffy.cc/DM4QqzjR7wCpkGPwTl6zr907X50XgtBL.png',
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
async def ensure_table_exists(db: aiosqlite.Connection) -> None:
|
async def ensure_table_exists(db: aiosqlite.Connection) -> None:
|
||||||
await db.execute(
|
await db.execute(
|
||||||
'CREATE TABLE IF NOT EXISTS today ('
|
'CREATE TABLE IF NOT EXISTS today ('
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue