Updated dependencies latest and added new slap command.
This commit is contained in:
parent
c7e6c9d102
commit
5ee53a6869
3 changed files with 18 additions and 1 deletions
|
@ -53,6 +53,10 @@ public sealed class Social : Canary
|
|||
case ImageType.cuddle:
|
||||
emb.WithDescription($"{ctx.User.Mention} cuddled {text}");
|
||||
break;
|
||||
case ImageType.slap:
|
||||
emb.WithDescription($"{ctx.User.Mention} slapped {text}");
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
await ctx.Channel.EmbedAsync(emb);
|
||||
|
@ -82,6 +86,7 @@ public sealed class Social : Canary
|
|||
kiss,
|
||||
wave,
|
||||
cuddle,
|
||||
slap,
|
||||
waifu,
|
||||
neko,
|
||||
shinobu,
|
||||
|
@ -119,6 +124,12 @@ public sealed class Social : Canary
|
|||
{
|
||||
await service.SendWaifuPicsEmbedAsync(ctx, ImageType.cuddle, text);
|
||||
}
|
||||
|
||||
[cmd]
|
||||
public async Task Slap(AnyContext ctx, [leftover] string text = null)
|
||||
{
|
||||
await service.SendWaifuPicsEmbedAsync(ctx, ImageType.slap, text);
|
||||
}
|
||||
}
|
||||
|
||||
public sealed class Images(SocialService service) : Canary
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<ItemGroup>
|
||||
<!-- 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 -->
|
||||
<PackageReference Include="Ellie.Marmalade" Version="5.3.1">
|
||||
<PackageReference Include="Ellie.Marmalade" Version="5.3.3">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
|
||||
|
|
|
@ -28,6 +28,12 @@ wave:
|
|||
- ""
|
||||
- "@someone"
|
||||
|
||||
slap:
|
||||
desc: "Slap your friends if they deserve it."
|
||||
args:
|
||||
- ""
|
||||
- "@someone"
|
||||
|
||||
waifu:
|
||||
desc: "Spawn a random waifu!"
|
||||
args:
|
||||
|
|
Loading…
Reference in a new issue