Whitespace
This commit is contained in:
parent
a6105e4fb1
commit
8ab1ec4461
@ -6,7 +6,9 @@ camelCase methods mirror API directly, while snake_case ones act as middlewares
|
||||
Usage
|
||||
```
|
||||
import sys
|
||||
|
||||
from davtelepot.bot import Bot
|
||||
|
||||
from data.passwords import my_token, my_other_token
|
||||
|
||||
long_polling_bot = Bot(token=my_token, database_url='my_db')
|
||||
@ -22,7 +24,10 @@ Usage
|
||||
async def bar_command(bot, update, user_record):
|
||||
return "Foo!"
|
||||
|
||||
exit_state = Bot.run()
|
||||
exit_state = Bot.run(
|
||||
local_host='127.0.0.5',
|
||||
port=8552
|
||||
)
|
||||
sys.exit(exit_state)
|
||||
```
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user