Fix interview category id type in schema

This commit is contained in:
Toastie 2024-12-27 18:14:20 +13:00
parent ad940c6167
commit 8e7a21c81a
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
2 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ public class InterviewTemplateCommands
{
string defaultTemplate =
"{\n" +
" \"category-id\": \"" + category.Id + "\",\n" +
" \"category-id\": " + category.Id + ",\n" +
" \"interview\":\n" +
" {\n" +
" \"message\": \"\",\n" +
@ -147,7 +147,7 @@ public class InterviewTemplateCommands
await command.RespondAsync(new DiscordEmbedBuilder
{
Color = DiscordColor.Green,
Description = "Uploaded interview template for `\" + category.Name + \"`."
Description = "Uploaded interview template for `" + category.Name + "`."
}, true);
}
else

View file

@ -168,7 +168,7 @@
{
"category-id":
{
"type": "string",
"type": "number",
"title": "Category ID",
"description": "The id of the category this template applies to. You can change this and re-upload the template to apply it to a different category."
},