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 =
|
string defaultTemplate =
|
||||||
"{\n" +
|
"{\n" +
|
||||||
" \"category-id\": \"" + category.Id + "\",\n" +
|
" \"category-id\": " + category.Id + ",\n" +
|
||||||
" \"interview\":\n" +
|
" \"interview\":\n" +
|
||||||
" {\n" +
|
" {\n" +
|
||||||
" \"message\": \"\",\n" +
|
" \"message\": \"\",\n" +
|
||||||
|
@ -147,7 +147,7 @@ public class InterviewTemplateCommands
|
||||||
await command.RespondAsync(new DiscordEmbedBuilder
|
await command.RespondAsync(new DiscordEmbedBuilder
|
||||||
{
|
{
|
||||||
Color = DiscordColor.Green,
|
Color = DiscordColor.Green,
|
||||||
Description = "Uploaded interview template for `\" + category.Name + \"`."
|
Description = "Uploaded interview template for `" + category.Name + "`."
|
||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -168,7 +168,7 @@
|
||||||
{
|
{
|
||||||
"category-id":
|
"category-id":
|
||||||
{
|
{
|
||||||
"type": "string",
|
"type": "number",
|
||||||
"title": "Category ID",
|
"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."
|
"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