* Remove template in favor of official samples * Fixed a variable name copy pasta mistake line 35 was _database.GetData() instead of DBService.GetData() * Experimental theme change * Change paragraph, code, heading fonts * Widen viewport * Update DocFX.Plugins.LastModified v1.2.3 * Exclude Discord.API in docs * Add remarks for SocketReaction properties * Add examples for BaseSocketClient.Events * Add additional clarification for some methods * Move IUser and IGuildChannel examples * Clarify several guides samples with notes - Reword TypeReader comment to avoid giving the idea that the sample itself is "obsolete" - Remove CommandException logging comment regarding C#7.0 as the version is now the standard across VS2017 and up - Remove suggestion about handling result in command handler since it is now advised to use CommandExecuted instead + Add additional comment to clarify ctor for DI setup * Add/migrate code examples * Incorporate material design theme License @ https://github.com/ovasquez * Update installation and nightly guide * Fix improper indentations made obvious by the widen viewport * Fix minor grammar issues + Add installation for nightly build using dotnet CLI * Fix nav level indentation * Revise "Your First Bot" article * Merge some paragraphs to avoid clutter while keeping readability * Reword the use of command framework + Add additional warning/note about environment variable * Add additional indent level * Fix indentation text warping * Remove connections sample * Update logging sample Remove redundant part of the sample * Remove mention of RPC * Remove misleading section about commands - Remove command sample from complete snippet * Revise "Your First Bot" command paragraphs * Change wording to hint devs that additional command parser packages may be available, as more and more begin to crop up * Update themes * Add XML docs contribution guidelines Update guidelines * Update CommandExecuted remarks * Fix precondition remarks typo no one saw that ok * Fix permission sample in docfx * Fix IMessageChannel samples * Update docs/_template/light-dark-theme/styles/docfx.vendor.minify.css Co-Authored-By: Still34 <341464@gmail.com> * Update docs/_template/light-dark-theme/styles/material.css Co-Authored-By: Still34 <341464@gmail.com> * Update docs/_template/light-dark-theme/styles/material.css Co-Authored-By: Still34 <341464@gmail.com>
2.1 KiB
uid, title
| uid | title |
|---|---|
| Guides.Introduction | Introduction to Discord.Net |
Introduction
Looking to get started?
Welcome! Before you dive into this library, however, you should have some decent understanding of the language you are about to use. This library touches on Task-based Asynchronous Pattern (TAP), polymorphism, interface and many more advanced topics extensively. Please make sure that you understand these topics to some extent before proceeding. With all that being said, feel free to visit us on Discord at the link below if you have any questions!
An official collection of samples can be found in our GitHub repository.
Note
Please note that you should not try to blindly copy paste the code. The examples are meant to be a template or a guide.
New to .NET/C#?
All examples or snippets featured in this guide and all API documentation will be written in C#.
If you are new to the language, using this wrapper may prove to be difficult, but don't worry! There are many resources online that can help you get started in the wonderful world of .NET. Here are some resources to get you started.
- C# Programming Guide (MSDN/Microsoft, Free)
- C# Fundamentals For Absolute Beginners (Channel9/Microsoft, Free)
- C# Path (Pluralsight, Paid)
Still have questions?
Please visit us at #dotnet_discord-net on the Discord API server.
Describe the problem in details to us, what you've done, and,
if any, the problematic code uploaded onto Hastebin.