docs: Updated medusa docs a little bit

This commit is contained in:
Kwoth
2024-07-22 01:26:07 +00:00
parent ad679a996d
commit 4e177ff198

View File

@@ -156,7 +156,7 @@ This section will guide you through how to create a simple custom medusa. You ca
<ItemGroup>
<!-- Base medusa package. You MUST reference this in order to have a working medusa -->
<!-- Also, this package comes from MyGet, which requires you to have a NuGet.Config file next to your .csproj -->
<PackageReference Include="Nadeko.Medusa" Version="4.3.9">
<PackageReference Include="Nadeko.Medusa" Version="5.*">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
@@ -180,8 +180,7 @@ This section will guide you through how to create a simple custom medusa. You ca
```
- Create a `MySnek.cs` file and add the following contents
```cs
using Nadeko.Snake;
using NadekoBot;
using NadekoBot.Medusa;
using Discord;
public sealed class MySnek : Snek
@@ -200,6 +199,7 @@ public sealed class MySnek : Snek
}
```
- Create `res.yml` and `cmds.yml` files with the following contents
`res.yml`
```yml
medusa.description: "This is my medusa's description"