SkyBot is a Valour.gg bot built with .NET 10.
- Designed for self-hosting
- Open-source under AGPL-3.0
- Built with .NET 10
- Command system with automatic registration
8ball— ask the magic 8 ball a questioncoinflip— flip a coindice— roll a dierockpaperscissors— play rock paper scissors against the botchoose— pick one of the given optionsecho— repeat text through the botreverse— reverse yours or a replied messagemock— mOcK tExTt9encode/t9decode— encode or decode old phone keypad multi-tap digitshangman— channel-wide game of hangman with optional category (hg <letter or word>to guess)wordle— channel-wide Wordle; guess the 5-letter word in 6 tries (wg <word>to guess)trivia— channel-wide trivia question with 30 seconds to answer (tg <A/B/C/D>to guess)image— fetch a random image matching your search (aliases:img)
cat— post a random cat picturehug— send a hug with a random gif
ping— check bot latencyuptime— show how long the bot has been runninginfo— user and planet infoversion— show the current bot and Valour SDK versionusercount— show the total Valour user countsource— link to the bot's source codejoinsite— link to a site to help bots join a planetdevcentral— invite link to the Dev Central planetswagger— link to the Valour API docsminecraft— Unofficial ValourSMP server IPssuggest— submit a suggestion for the bot
ban/unban/kick— member moderationbans— list all bans in the planetsetwelcome— configure a welcome channel and message
SkyBot stores only the minimum data required for operation. Most data is stored in-memory and is lost on restart. A small amount of server configuration data is persisted to a local SQLite database for the welcome system.
SkyBot does not store:
- Message content
- Direct messages
- Personal user data
Full privacy policy: https://git.skyjoshua.xyz/SkyJoshua/SkyBot/blob/main/PRIVACY.md
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
See the LICENSE file for details: https://git.skyjoshua.xyz/SkyJoshua/SkyBot/blob/main/LICENSE
Because this project is licensed under AGPL-3.0, if you modify and deploy it publicly (including as a hosted service), you must make your source code available under the same license.
- .NET 10
- A Valour bot token
- A Pixabay API key (free) — required for the
imagecommand
git clone https://git.skyjoshua.xyz/SkyJoshua/SkyBot.git
cd SkyBot/SkyBot
dotnet restoreAll required NuGet packages will be installed automatically using the provided SkyBot.csproj file.
Create a .env file in the root directory of the project:
TOKEN=your-bot-token-here
PIXABAY_API_KEY=your-pixabay-api-key-here
Then open Config.cs and update the following values:
public static readonly long OwnerId = your-owner-id-here;
public static readonly string Prefix = "your-prefix-here";
public static readonly string SourceLink = "your-source-link-here";- Replace
your-owner-id-herewith your Valour user ID. - Replace
your-prefix-herewith your desired command prefix (e.g.s/). - Replace
your-source-link-herewith a link to your fork of the repository.
Never commit your .env file to the repository. Ensure it is listed in your .gitignore.
dotnet run