Added initial docs
This commit is contained in:
20
docs/features/commands.rst
Normal file
20
docs/features/commands.rst
Normal file
@@ -0,0 +1,20 @@
|
||||
Commands
|
||||
========
|
||||
|
||||
The `Discord.Net.Commands`_ package DiscordBotClient extends DiscordClient with support for commands.
|
||||
|
||||
.. _Discord.Net.Commands: https://www.nuget.org/packages/Discord.Net.Commands
|
||||
|
||||
Example (Simple)
|
||||
----------------
|
||||
|
||||
.. literalinclude:: ../samples/command.cs
|
||||
:language: csharp6
|
||||
:tab-width: 2
|
||||
|
||||
Example (Groups)
|
||||
----------------
|
||||
|
||||
.. literalinclude:: ../samples/command_group.cs
|
||||
:language: csharp6
|
||||
:tab-width: 2
|
||||
Reference in New Issue
Block a user