Added config and current commands, Close button for inline menus, pass to all __init__s

This commit is contained in:
BarsTiger
2023-03-08 16:10:22 +02:00
parent ebdd27ece8
commit b83e649349
19 changed files with 119 additions and 5 deletions

View File

@@ -2,6 +2,7 @@ help_data = {
'generate': 'Generate picture using configuration set by user. You can pass prompt also in command arguments or '
'use it without arguments to generate picture with prompt, that was used for last generation',
'imginfo': 'Get information about image, that was generated using this bot',
'current': 'Get your current prompt',
'setprompt': 'Set default prompt for images, will be overwritten if you specify prompt in generate command',
'setnegative': 'Set negative prompt',
'setsize': 'Set size for image (in hxw format)',
@@ -12,6 +13,7 @@ help_data = {
'setscale': 'Set CFG Scale (prompt stringency)',
'setfaces': 'Set restore faces mode',
'status': 'Ping API endpoint host',
'config': 'Edit config using inline buttons',
'setmodel': '(global) Sets StableDiffusion model for all users. Can be used only once an hour',
'setendpoint': '(admin) Set StableDiffusion API endpoint',
'addadmin': '(admin) Add new admin - reply to message or type user ID',