Table of Contents

How to use articles

Images used in articles might include version numbers, which may not be the latest version of DisCatSharp.

Example code should be treated as pseudo-code, and may not compile.

Knowledge Prerequisites

Before attempting to write a Discord bot, you should be familiar with the concepts of Object Oriented Programing, the C# programming language, and Task-based Asynchronous Pattern.

If you're brand new to C#, or programming in general, this library may prove difficult for you to use.
Fortunately, there are resources that can help you get started with the language!

An excellent tutorial series to go through would be C# Fundamentals for Absolute Beginners by Bob Tabor. His videos go through all the getting_started, from setting up your development environment up to some of the more advanced concepts. If you're not sure what to do first, Bob's tutorial series should be your starting point!

Another great resource is Microsoft's Introduction to C#, which is an interactive tutorial.

Supported .NET Implementations

DisCatSharp 10.5 and higher targets .NET 8 primary and backports .NET 7.

Getting Started

If you're writing a Discord bot for the first time, you'll want to start with creating a bot account.

Otherwise, if you have a bot account already, start off with the writing your first bot article.

Once you're up and running, feel free to browse through the API Documentation!