diff --git a/DisCatSharp.Extensions.Docs/articles/extensions/simple_music_commands/intro.md b/DisCatSharp.Extensions.Docs/articles/extensions/simple_music_commands/intro.md new file mode 100644 index 0000000..3fad876 --- /dev/null +++ b/DisCatSharp.Extensions.Docs/articles/extensions/simple_music_commands/intro.md @@ -0,0 +1,41 @@ +--- +uid: extensions_simple_music_commands_intro +title: Simple Music Commands Introduction +description: Introduction to Simple Music Commands +author: DisCatSharp Team +--- + +# Simple Music Commands + +## What is this? + +This extensions turns your DisCatSharp bot into a music bot, without the trouble of writing each command. + +All you need to do is to follow the setup for Lavalink mentioned in https://docs.dcs.aitsys.dev/articles/modules/audio/lavalink_v4/docker. + +## Quick run-down + +```cs +DiscordClient client; + +// Initiate the application commands module first + +// Initiate the simple music commands module +client.UseSimpleMusicCommands(new LavalinkConfiguration()); + +// Register the music commands +var extension = await Client.GetSimpleMusicCommandsExtension(); +extension.RegisterMusicCommands(); + +// Connect the discord client first! +await client.ConnectAsync(); + +// Connect the extension +await extension.ConnectAsync(); +``` + +## And that does? + +It creates and handles application commands for your bot, all by itself 💕 + +![Commands 1](/images/simple_music_commands_commandblock_1.png) ![Commands 2](/images/simple_music_commands_commandblock_2.png) diff --git a/DisCatSharp.Extensions.Docs/articles/toc.yml b/DisCatSharp.Extensions.Docs/articles/toc.yml index c97a5e6..7b4a26b 100644 --- a/DisCatSharp.Extensions.Docs/articles/toc.yml +++ b/DisCatSharp.Extensions.Docs/articles/toc.yml @@ -3,6 +3,10 @@ items: uid: preamble - name: Extensions items: + - name: Simple Music Commands + items: + - name: Introduction + uid: extensions_simple_music_commands_intro - name: TwoFactor Commands items: - name: Introduction diff --git a/DisCatSharp.Extensions.Docs/images/simple_music_commands_commandblock_1.png b/DisCatSharp.Extensions.Docs/images/simple_music_commands_commandblock_1.png new file mode 100644 index 0000000..154a66e Binary files /dev/null and b/DisCatSharp.Extensions.Docs/images/simple_music_commands_commandblock_1.png differ diff --git a/DisCatSharp.Extensions.Docs/images/simple_music_commands_commandblock_2.png b/DisCatSharp.Extensions.Docs/images/simple_music_commands_commandblock_2.png new file mode 100644 index 0000000..b6f326e Binary files /dev/null and b/DisCatSharp.Extensions.Docs/images/simple_music_commands_commandblock_2.png differ