Compare commits

...

11 commits
1.0.0 ... main

5 changed files with 83 additions and 5 deletions

View file

@ -1,6 +1,6 @@
# Social
## A Marmalade module for [EllieBot](https://toastielab.dev/Emotions-stuff/elliebot)
Make you own by following the instructions at https://docs.elliebot.net/ellie/marmalade/creating-a-marmalade/
Make you own by following the instructions at https://docs.elliebot.net/marmalade/creating-a-marmalade/
### This Marmalade pulls images from [waifu.pics](https://waifu.pics)

View file

@ -54,9 +54,23 @@ public sealed class Social : Canary
emb.WithDescription($"{ctx.User.Mention} cuddled {text}");
break;
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;
case ImageType.yeet:
emb.WithDescription($"{ctx.User.Mention} threw {text}, watch them fly.");
break;
case ImageType.wink:
emb.WithDescription($"{ctx.User.Mention} winked at {text}");
break;
case ImageType.cringe:
emb.WithDescription($"{ctx.User.Mention} cringed at {text} they probably posted cringe.");
break;
case ImageType.bully:
emb.WithDescription($"{ctx.User.Mention} bullied {text}, you are a bad person.");
break;
}
}
await ctx.Channel.EmbedAsync(emb);
@ -87,6 +101,11 @@ public sealed class Social : Canary
wave,
cuddle,
slap,
poke,
yeet,
wink,
cringe,
bully,
waifu,
neko,
shinobu,
@ -130,6 +149,36 @@ public sealed class Social : Canary
{
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);
}
[cmd]
public async Task Yeet(AnyContext ctx, [leftover] string text = null)
{
await service.SendWaifuPicsEmbedAsync(ctx, ImageType.yeet, text);
}
[cmd]
public async Task Wink(AnyContext ctx, [leftover] string text = null)
{
await service.SendWaifuPicsEmbedAsync(ctx, ImageType.wink, text);
}
[cmd]
public async Task Cringe(AnyContext ctx, [leftover] string text = null)
{
await service.SendWaifuPicsEmbedAsync(ctx, ImageType.cringe, text);
}
[cmd]
public async Task Bully(AnyContext ctx, [leftover] string text = null)
{
await service.SendWaifuPicsEmbedAsync(ctx, ImageType.bully, text);
}
}
public sealed class Images(SocialService service) : Canary

View file

@ -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.3">
<PackageReference Include="Ellie.Marmalade" Version="6.1.7">
<PrivateAssets>all</PrivateAssets>
</PackageReference>

View file

@ -34,6 +34,34 @@ slap:
- ""
- "@someone"
boop:
desc: "Boop one of your friends on the snoot."
args:
- "@someone"
yeet:
desc: "Yeet one of your friends."
args:
- ""
- "@someone"
wink:
desc: "Wink at your friends."
args:
- ""
- "@someone"
cringe:
desc: "For when that one friend is being cringe."
args:
- ""
- "@someone"
bully:
desc: "Bully your friends."
args:
- "@someone"
waifu:
desc: "Spawn a random waifu!"
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"