mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 16:21:28 +00:00
Update
This commit is contained in:
6
docs/guide/code/awesome-bot-1/bot.py
Normal file
6
docs/guide/code/awesome-bot-1/bot.py
Normal file
@ -0,0 +1,6 @@
|
||||
import none
|
||||
|
||||
if __name__ == '__main__':
|
||||
none.init()
|
||||
none.load_builtin_plugins()
|
||||
none.run(host='127.0.0.1', port=8080)
|
3
docs/guide/code/awesome-bot-1/config.py
Normal file
3
docs/guide/code/awesome-bot-1/config.py
Normal file
@ -0,0 +1,3 @@
|
||||
from none.default_config import *
|
||||
|
||||
SUPERUSERS = {12345678}
|
Reference in New Issue
Block a user