Merge pull request '修改Import位置' (#26) from QAQ into master
Reviewed-on: #26
This commit is contained in:
commit
66dc9e65fb
5
main.py
5
main.py
@ -6,6 +6,8 @@ import random
|
||||
from .back import time_long, volume, isUserExist, insertUser, seconds_to_hms, ml_to_l_ml, get_user_name
|
||||
import pymysql
|
||||
from .Tool import get_tool_name
|
||||
import astrbot.api.message_components as Comp
|
||||
import aiohttp # 需要异步HTTP客户端
|
||||
|
||||
@register("helloworld", "YourName", "一个简单的 Hello World 插件", "1.0.0")
|
||||
class MyPlugin(Star):
|
||||
@ -305,8 +307,7 @@ class MyPlugin(Star):
|
||||
testNumber = testNumber + 1
|
||||
yield event.plain_result(f"累积结果: {testNumber}")
|
||||
|
||||
import astrbot.api.message_components as Comp
|
||||
import aiohttp # 需要异步HTTP客户端
|
||||
|
||||
|
||||
@filter.command("Dora")
|
||||
async def Dora(self, event: AstrMessageEvent):
|
||||
|
Loading…
x
Reference in New Issue
Block a user