添加了一个接口调用
This commit is contained in:
parent
4105592845
commit
d7e430f041
@ -177,6 +177,17 @@ namespace Milimoe.RainBOT.ListeningTask
|
|||||||
return;
|
return;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (e.detail == "买家秀")
|
||||||
|
{
|
||||||
|
TaskUtility.NewTask(async () =>
|
||||||
|
{
|
||||||
|
if (!await Bot.CheckBlackList(true, e.user_id, e.group_id)) return;
|
||||||
|
GroupMessageContent content = new(e.group_id);
|
||||||
|
content.message.Add(new ImageMessage("https://api.03c3.cn/api/taobaoBuyerShow"));
|
||||||
|
await Bot.SendGroupMessage(e.group_id, "Image", content);
|
||||||
|
return;
|
||||||
|
});
|
||||||
|
}
|
||||||
if (e.detail.Contains("来龙"))
|
if (e.detail.Contains("来龙"))
|
||||||
{
|
{
|
||||||
TaskUtility.NewTask(async () =>
|
TaskUtility.NewTask(async () =>
|
||||||
|
|||||||
@ -3,8 +3,8 @@
|
|||||||
public class OSMCore
|
public class OSMCore
|
||||||
{
|
{
|
||||||
public const string version = "v1.0";
|
public const string version = "v1.0";
|
||||||
public const string version2 = "Patch8 Test";
|
public const string version2 = "Patch8 Test1";
|
||||||
public const string time = "July 5th, 2024";
|
public const string time = "July 6th, 2024";
|
||||||
|
|
||||||
public static string Info => $"OSM Core {version} {version2}\r\nAuthor: Milimoe\r\nBuilt on {time}\r\nSee: https://github.com/milimoe";
|
public static string Info => $"OSM Core {version} {version2}\r\nAuthor: Milimoe\r\nBuilt on {time}\r\nSee: https://github.com/milimoe";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user