feat: sync built-in sticker bot
This commit is contained in:
parent
7096625e13
commit
6867d201ed
60 changed files with 7063 additions and 144 deletions
12
deploy/migrations/0045_stickers_bot_edit_commands.down.sql
Normal file
12
deploy/migrations/0045_stickers_bot_edit_commands.down.sql
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
UPDATE public.bots
|
||||
SET commands = '[
|
||||
{"command": "start", "description": "start the sticker pack assistant"},
|
||||
{"command": "help", "description": "show help"},
|
||||
{"command": "newpack", "description": "create a sticker pack"},
|
||||
{"command": "newemoji", "description": "create a custom emoji pack"},
|
||||
{"command": "publish", "description": "publish the current pack"},
|
||||
{"command": "cancel", "description": "cancel the current operation"},
|
||||
{"command": "packs", "description": "list your created packs"}
|
||||
]'::jsonb,
|
||||
updated_at = now()
|
||||
WHERE bot_user_id = 1063110917;
|
||||
Loading…
Add table
Add a link
Reference in a new issue