diff --git a/examples/commands.json b/examples/commands.json new file mode 100644 index 0000000..8634ffa --- /dev/null +++ b/examples/commands.json @@ -0,0 +1,21 @@ +{ + "help": { + "scopes": [ + { + "name": "BotCommandScopeDefault" + }, + { + "name": "BotCommandScopeChat", + "chat_id": "owner" + } + ] + }, + "shutdown": { + "scopes": [ + { + "name": "BotCommandScopeChat", + "chat_id": "owner" + } + ] + } +} \ No newline at end of file diff --git a/examples/config.json b/examples/config.json new file mode 100644 index 0000000..7919804 --- /dev/null +++ b/examples/config.json @@ -0,0 +1,38 @@ +{ + "locale": "en", + "bot": { + "owner": 0, + "api_id": 0, + "api_hash": "", + "bot_token": "", + "workers": 1, + "max_concurrent_transmissions": 1, + "scoped_commands": true + }, + "reports": { + "chat_id": "owner" + }, + "disabled_plugins": [], + "commands": { + "help": { + "scopes": [ + { + "name": "BotCommandScopeDefault" + }, + { + "name": "BotCommandScopeChat", + "chat_id": "owner" + } + ] + }, + "shutdown": { + "scopes": [ + { + "name": "BotCommandScopeChat", + "chat_id": "owner" + } + ] + } + } +} + diff --git a/examples/locale.json b/examples/locale.json new file mode 100644 index 0000000..78e4c60 --- /dev/null +++ b/examples/locale.json @@ -0,0 +1,23 @@ +{ + "metadata": { + "flag": "🇬🇧", + "name": "English", + "codes": [ + "en" + ] + }, + "bot": { + "name": "Your Bot", + "about": "I'm a your bot. Nice to meet you!", + "description": "I'm just your bot. Yet nice to meet you!" + }, + "commands": { + "help": "Show help message" + }, + "messages": { + "help": "Sample Text" + }, + "callbacks": { + "sample": "This button is working!" + } +} \ No newline at end of file