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.4 and higher target .NET 7 primary and backports .NET 6.

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!

This page was last modified at 07/05/2023 04:51:04 (UTC).

Author:    Lala Sabathil <[email protected]>
Commit:    651dfef64ee8506d6ed829662d1b85abe5385999
feat: sentry & various features / fixes (#287)

* feat: lib dev rework

* feat: use discordjson deser to find new fields

* feat!: Rename ApiObject to ObservableApiObject

* fix: grant extension access to internals

* chore: net7 cleanup

* feat: sentry release

* feat: guild_id for integration

* fix: ignore guild_hashes and hashes on channel

* feat: allow devs to give their contact data for se...