added the joinCode command to the help

This commit is contained in:
2026-02-28 21:14:02 +00:00
parent 9fa5d6e0dc
commit 4d8ed186e1

View File

@@ -126,7 +126,7 @@ client.MessageService.MessageReceived += async (message) =>
await Utils.SendReplyAsync(channelCache, channelId, $"{pingMember} You can see my source code here: https://github.com/SkyJoshua/SkyBot"); await Utils.SendReplyAsync(channelCache, channelId, $"{pingMember} You can see my source code here: https://github.com/SkyJoshua/SkyBot");
}; };
if (Utils.ContainsAny(content, $"{prefix}joinCode")) if (Utils.ContainsAny(content, $"{prefix}joincode"))
{ {
await Utils.SendReplyAsync(channelCache, channelId, $"{pingMember} You can use this to join a planet: https://github.com/SkyJoshua/JoinPlanet"); await Utils.SendReplyAsync(channelCache, channelId, $"{pingMember} You can use this to join a planet: https://github.com/SkyJoshua/JoinPlanet");
}; };
@@ -137,6 +137,7 @@ client.MessageService.MessageReceived += async (message) =>
- `s/echo <text> - Echos text into the chat` - `s/echo <text> - Echos text into the chat`
- `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/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`");