Skip to content

Commit

Permalink
[Release] 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Jan 30, 2022
1 parent bf26b1b commit 73ed366
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to Kawaii Cocoa Grader will be documented here

Changelog before 0.2.2 will not be noted here

## [1.0.0] - 2022-01-30

- Everything is settled, Release 1.0.0! Let's go!!!

## [0.2.9] - 2022-01-30

- It is normal for Idea to come in after I publish a release
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cocoa-grader",
"version": "0.2.9",
"version": "1.0.0",
"description": "Discord Bot Grader",
"main": "dist/bot/client.js",
"repository": "https://github.com/Leomotors/cocoa-grader",
Expand Down
2 changes: 1 addition & 1 deletion src/bot/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ const slashcenter = new SlashCenter(
process.env.GUILD_IDS?.split(",") ?? []
);
slashcenter.addCog(Cocoa);
slashcenter.validateCommands();

const groupLoader = new ActivityGroupLoader("data/activities.json");

client.on("ready", (cli) => {
console.log(
chalk.cyan(`ココアお姉ちゃん 「${cli.user.tag}」 は準備完了です`)
);
slashcenter.validateCommands();
slashcenter.syncCommands();
useActivityGroup(client, groupLoader);
});
Expand Down
2 changes: 1 addition & 1 deletion src/bot/commands/message/submit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function EmbedGen(msg: Message, result: Verdict, perf: number, lang: string) {
.setAuthor(Author(msg))
.setTitle(pb.title)
.setDescription(
`Description: ${pb.description}\nTime Limit: ${pb.timelimit} seconds\nMemory Limit: ${pb.memorylimit} MB\nSubmission Status: ${result.status}\nSubtasks Verdict: [${result.subtasks}]`
`Description: ${pb.description}\nTime Limit: ${pb.timelimit} seconds\nMemory Limit: ${pb.memorylimit} MB\nSubmission Status: **${result.status}**\nSubtasks Verdict: [${result.subtasks}]`
)
.setColor(Cocoa.Color)
.setThumbnail(Cocoa.GIF.NoPoi)
Expand Down

0 comments on commit 73ed366

Please sign in to comment.