Making the Discord Bot in C# with DSharpPlus.
- Commands
- Embed Messages
- Mini CardGame Embed Message
- Poll and Reactions Embed Message
- Commands Attributes and Events Handler
- Slash Commands
- Group Slash Commands
- Interaction Components (Buttons, Dropdown, Inputs, Modals)
- setup bot and generate token from discord developer portal
- create
config.json
at root
{
"token": "your-token-here",
"prefix": "your-prefix-here"
}
- send messages/commands with defined prefix (example
!embed
,!cardgame
) - can see the commands in
TestCommands.cs
dotnet watch run
dotnet run