Got everything ready for 5.3.4

This commit is contained in:
Toastie 2025-01-14 23:04:58 +13:00
parent 5ee53a6869
commit 5a591813e5
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7
4 changed files with 19 additions and 3 deletions

View file

@ -54,7 +54,10 @@ public sealed class Social : Canary
emb.WithDescription($"{ctx.User.Mention} cuddled {text}"); emb.WithDescription($"{ctx.User.Mention} cuddled {text}");
break; break;
case ImageType.slap: case ImageType.slap:
emb.WithDescription($"{ctx.User.Mention} slapped {text}"); emb.WithDescription($"{ctx.User.Mention} slapped {text}, they probably deserved it.");
break;
case ImageType.poke:
emb.WithDescription($"{ctx.User.Mention} booped {text}");
break; break;
} }
@ -87,6 +90,7 @@ public sealed class Social : Canary
wave, wave,
cuddle, cuddle,
slap, slap,
poke,
waifu, waifu,
neko, neko,
shinobu, shinobu,
@ -130,6 +134,12 @@ public sealed class Social : Canary
{ {
await service.SendWaifuPicsEmbedAsync(ctx, ImageType.slap, text); await service.SendWaifuPicsEmbedAsync(ctx, ImageType.slap, text);
} }
[cmd]
public async Task Boop(AnyContext ctx, [leftover] string text = null)
{
await service.SendWaifuPicsEmbedAsync(ctx, ImageType.poke, text);
}
} }
public sealed class Images(SocialService service) : Canary public sealed class Images(SocialService service) : Canary

View file

@ -18,7 +18,7 @@
<ItemGroup> <ItemGroup>
<!-- Base marmalade package. You MUST reference this in order to have a working marmalade --> <!-- Base marmalade package. You MUST reference this in order to have a working marmalade -->
<!-- Also, this package comes from Toastielab, which requires you to have a NuGet.Config file next to your .csproj --> <!-- Also, this package comes from Toastielab, which requires you to have a NuGet.Config file next to your .csproj -->
<PackageReference Include="Ellie.Marmalade" Version="5.3.3"> <PackageReference Include="Ellie.Marmalade" Version="5.3.4">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
</PackageReference> </PackageReference>

View file

@ -34,6 +34,11 @@ slap:
- "" - ""
- "@someone" - "@someone"
boop:
desc: "Boop one of your friends on the snoot."
args:
- "@someone"
waifu: waifu:
desc: "Spawn a random waifu!" desc: "Spawn a random waifu!"
args: args:

View file

@ -1 +1,2 @@
marmalade.description: "Images and interactions module - For interacting with members and getting nice pictures." marmalade.description: "Images and interactions module - For interacting with members and getting nice pictures."
marmalade.author: "toastie_t0ast"