Fixed this not working.

Hopefully
This commit is contained in:
Toastie 2024-07-26 23:56:22 +12:00
parent e28454af0a
commit e0d131b547
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
6 changed files with 47 additions and 17 deletions

View file

@ -1,11 +1,15 @@
{ {
"$schema": "http://json.schemastore.org/template", "$schema": "http://json.schemastore.org/template",
"author": "EllieBot Team", "author": "EllieBot Team",
"classifications": [ "ellie", "marmalade", "template" ], "classifications": [
"ellie",
"marmalade",
"template"
],
"identity": "ellie-marmalade", "identity": "ellie-marmalade",
"name": "Ellie Marmalade", "name": "Ellie Marmalade",
"shortName": "ellie-marmalade", "shortName": "ellie-marmalade",
"sourceName":"ellie-marmalade", "sourceName": "ellie-marmalade",
"sources": [ "sources": [
{ {
"modifiers": [ "modifiers": [

1
README.md Normal file
View file

@ -0,0 +1 @@
Template in order to create a ellie marmalade.

View file

@ -2,9 +2,9 @@
public sealed class MyCanary : Canary public sealed class MyCanary : Canary
{ {
[cmd] [cmd]
public async Task Hello(AnyContext ctx) public async Task Hello(AnyContext ctx)
{ {
await ctx.SendConfirmAsync($"Hello everyone!"); await ctx.SendConfirmAsync($"Hello everyone!");
} }
} }

View file

@ -1,5 +1,5 @@
hello: hello:
desc: "This is a basic hello command" desc: "This is a basic hello command"
args: args:
- "" - ""
- "@Someone" - "@Someone"

View file

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<!-- Reduces some boilerplate in your .cs files --> <!-- Reduces some boilerplace in your .cs files -->
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<!-- &lt;!&ndash; Use latest .net features &ndash;&gt;--> <!-- &lt;!&ndash; Use latest .net features &ndash;&gt;-->
@ -19,21 +19,21 @@
<PackageId>ellie-marmalade</PackageId> <PackageId>ellie-marmalade</PackageId>
<Title>Ellie Marmalade Template</Title> <Title>Ellie Marmalade Template</Title>
<Authors>EllieBot Team</Authors> <Authors>EllieBot Team</Authors>
<Description>Template in order to create a ellie marmalade.</Description> <Description>Template in order to create a ellie medusa.</Description>
<PackageTags>dotnet-new;templates</PackageTags> <PackageTags>dotnet-new;templates</PackageTags>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<!-- Base marmalade package. You MUST reference this in order to have a working marmalade --> <!-- Base medusa package. You MUST reference this in order to have a working medusa -->
<PackageReference Include="Ellie.Marmalade" Version="5.*-*"> <PackageReference Include="Ellie.Marmalade" Version="5.*-*">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
</PackageReference> </PackageReference>
<!-- Note: If you want to use EllieBot services etc... You will have to manually clone <!-- Note: If you want to use EllieBot services etc... You will have to manually clone
the https://toastielab.dev/Emotions-stuff/elliebot repo locally and reference the EllieBot.csproj because there is no EllieBot package atm. the https://toastielab.dev/Emotions-stuff/elliebot repo locally and reference the EllieBot.csproj because there is no EllieBot package atm.
It is strongly recommended that you checkout a specific tag which matches your version of Ellie, It is strongly recommended that you checkout a specific tag which matches your version of nadeko,
as there could be breaking changes even between minor versions of EllieBot. as there could be breaking changes even between minor versions of EllieBot.
For example if you're running EllieBot 4.1.0 locally for which you want to create a marmalade for, For example if you're running EllieBot 4.1.0 locally for which you want to create a medusa for,
you should do "git checkout 4.1.0" in your EllieBot solution and then reference the EllieBot.csproj you should do "git checkout 4.1.0" in your EllieBot solution and then reference the EllieBot.csproj
--> -->
</ItemGroup> </ItemGroup>

25
ellie-marmalade.sln Normal file
View file

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ellie-marmalade", "ellie-marmalade.csproj", "{82CAD9A8-93FE-45E2-9A4E-6014E300AA96}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{82CAD9A8-93FE-45E2-9A4E-6014E300AA96}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{82CAD9A8-93FE-45E2-9A4E-6014E300AA96}.Debug|Any CPU.Build.0 = Debug|Any CPU
{82CAD9A8-93FE-45E2-9A4E-6014E300AA96}.Release|Any CPU.ActiveCfg = Release|Any CPU
{82CAD9A8-93FE-45E2-9A4E-6014E300AA96}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0FBCB96F-46AC-4BD0-9D46-DCB6016BCB82}
EndGlobalSection
EndGlobal