added swagger api link

This commit is contained in:
2026-03-05 02:10:12 +00:00
parent ec08f8e07d
commit 8da6b64ced

View File

@@ -136,6 +136,11 @@ client.MessageService.MessageReceived += async (message) =>
await Utils.SendReplyAsync(channelCache, channelId, $"{pingMember} You can use this website to easily add your bot to a planet: https://skyjoshua.xyz/planetjoiner"); await Utils.SendReplyAsync(channelCache, channelId, $"{pingMember} You can use this website to easily add your bot to a planet: https://skyjoshua.xyz/planetjoiner");
}; };
if (Utils.ContainsAny(content, $"{prefix}api", $"{prefix}swagger"))
{
await Utils.SendReplyAsync(channelCache, channelId, $"{pingMember} Here is a link to the Swagger API: https://api.valour.gg/swagger");
};
if (Utils.ContainsAny(content, $"{prefix}cmds")) if (Utils.ContainsAny(content, $"{prefix}cmds"))
{ {
await Utils.SendReplyAsync(channelCache, channelId, @$"{pingMember} Here is a list of my commands: await Utils.SendReplyAsync(channelCache, channelId, @$"{pingMember} Here is a list of my commands:
@@ -143,6 +148,8 @@ client.MessageService.MessageReceived += async (message) =>
- `s/suggest - Shares the suggestions link` - `s/suggest - Shares the suggestions link`
- `s/source - Sends link for the source code` - `s/source - Sends link for the source code`
- `s/joincode - Sends a link to a github that you can use to make your bot join your planet.` - `s/joincode - Sends a link to a github that you can use to make your bot join your planet.`
- `s/joinsite - Sends a link to a website that you can use to make yout bot join your planet.`
- `s/api|swagger - Sends a link to the Swagger API`
- `s/cmds - Shows this list` - `s/cmds - Shows this list`
- `s/usercount - Shows the user count of Valour` - `s/usercount - Shows the user count of Valour`
- `s/devcentral - Sends the invite link to the Dev Central Planet` - `s/devcentral - Sends the invite link to the Dev Central Planet`