From 8da6b64ced6f3da327d4a64c0d22c9d58e831b18 Mon Sep 17 00:00:00 2001 From: skyjoshua Date: Thu, 5 Mar 2026 02:10:12 +0000 Subject: [PATCH] added swagger api link --- Program.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Program.cs b/Program.cs index bcf9275..e2dcc8b 100644 --- a/Program.cs +++ b/Program.cs @@ -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"); }; + 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")) { 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/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/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/usercount - Shows the user count of Valour` - `s/devcentral - Sends the invite link to the Dev Central Planet`