Compare commits
No commits in common. "66dc9e65fbd32d990efe55a61e8e14a29416f25c" and "dfd54bc96ab0b9ed7963248ac5ca266fb3099ea5" have entirely different histories.
66dc9e65fb
...
dfd54bc96a
5
main.py
5
main.py
@ -6,8 +6,6 @@ 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):
|
||||
@ -307,7 +305,8 @@ 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