-
Notifications
You must be signed in to change notification settings - Fork 1
Getting started
##Table of contents
- Getting Visual Studio
- Download IA.SDK
- Create the project
- The Code
- Ending Notes
##Getting Visual Studio As a starting note, I'd like to make sure that this guide to set up the Sdk is purely aimed with Visual Studio 2015 or 2017.
Please download it from: https://www.visualstudio.com/downloads/
##Downloading IA.SDK There are two ways to download the SDK
[RECOMMENED]
Use a git tool (e.g. Sourcetree) to pull the repository
Sourcetree link: https://www.sourcetreeapp.com/
[EASY WAY]
Go to the Code<> tab and press this button
Make sure not to make any changes, as your bot (running IA) will not longer detect it as a valid
##Creating the project Author's note: Once we release to a stable version, I'll upload the Sdk to nuget.
At the moment you should be running visual studio, This means you have the ability to create a new solution (project)
Do that, and pick "Class Library"
Now on the left you see the Solution Explorer, It has all your code, dependencies, and settings. Right click on your project name and press "Add" -> "Add Existing Project"
Locate your IA.SDK and add it to your project.
Once this is finished, You want to right click on "References" and press "Add Reference" and Add IA.SDK as a reference
To add IA.SDK as a reference, go to the Projects->Solution and tick the IA.SDK box like shown below
Now, you're all set up to work on your addon 😄
I've added a very small code snippet here, Replace class Class1()
with this class, Bots running on IA use this to identify your application's starting point.
public class Addon : IAddon
{
public async Task<IAddonInstance> Create(IAddonInstance addon)
{
// Code here and define addon here!!
return addon;
}
}
I'll do my best to update this, but if it won't work or you're having problems, you can find a way to contact me at http://veld.one
####Discord
- AudioClients
- AudioChannels
- Embeds
- Guilds
- MessageChannels
- Messages
- Roles
- Users
####Events
- CommandEvents
####Instances
- AddonInstance
- ModuleInstance