Skip to content

SkyJoshua/Valour-Bot-Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Valour Bot Guide

By SkyJoshua

This guide is still a work in progress!

This guide walks you through creating a bot on Valour.gg, connecting it with the SDK and getting it to do things on a planet. Basic knowledge in .NET is not required but is highly recommended!

Prerequisites

1. Create a bot account

  1. Log into Valour with your regular account.
  2. Go to Developer Settings (User Settings -> Developer).
  3. Click Create Bot and give it a name.
  4. Copy the token immediately - it is only shown once. If you lose it, you can regenerate it from the bot's edit page (this invalidates the old one).

2. Making the bot

Step 1. Logging in as the bot - Setting up the project and connecting to Valour

Step 2. Joining a planet - Adding your bot to a planet

Step 3. Connecting and Sending a Message to a Planet - Opening a real-time connection and sending your first message

Step 4. Receiving Messages and Commands - Listening for messages and creating a basic command

Step 5. Command Arguments - Parsing arguments from commands

Step 6. Member Info - Fetching info about the message author

Step 7. Permission Checking - Restricting commands to members with the right permissions


For more information check out the Valour GitHub and the Valour SDK on NuGet.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors