Skip to content

Commit

Permalink
minor patches
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeyoYT committed May 7, 2024
1 parent d3b5d34 commit 51a6bdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/me/ailama/commands/AiCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public void handleCommand(SlashCommandInteractionEvent event) {
if you pass a null value to a argument that specified NOT_NULL in its description then you will be given a bad score.
if you don't respect the arguments data type, you will be given a bad score.
if you don't respect the arguments description, you will be given a bad score.
the reason should not exceed 200 characters, and if it does, you will be given a bad score.
and if you don't follow the schema, you will be given a bad score, but if you follow the schema, you will be given a good score.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/me/ailama/tools/TimeTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public String formatTime(final long timeInMillis) {
return String.format("%02d:%02d:%02d", hours, minutes, seconds);
}

@Tool(name = "time", description = "Get the current time in a specific timezone like time(is24Hour, timeZone)", arguments = {
@Tool(name = "time", description = "Get the current time in a specific timezone time(is24Hour, timeZone)", arguments = {
@Args(name = "is24Hour", Type = "boolean", description = "true for 24-hour format, false for 12-hour format"),
@Args(name = "timeZone", Type = "string", description = "Timezone in which you want to get the time like 'Asia/Kolkata'")
})
Expand Down

0 comments on commit 51a6bdc

Please sign in to comment.