Fix interview category id type in schema
This commit is contained in:
parent
ad940c6167
commit
8e7a21c81a
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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."
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue