Skip to content

Commit

Permalink
minor meta fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jan 4, 2022
1 parent 2c562fa commit b217e73
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public DiscordCreateThreadCommand() {
// OR specify a DiscordChannelTag parent and optionally mark it private (otherwise it's public).
//
// @Tags
// <entry[saveName].created_thread>
// <entry[saveName].created_thread> returns the newly created thread.
//
// @Usage
// Use to create a new thread for a specific message and send a bot message to it.
Expand Down Expand Up @@ -89,7 +89,7 @@ public void execute(ScriptEntry scriptEntry) {
}
}
else if (channel == null) {
throw new InvalidArgumentsRuntimeException("Missing message or channel/initial_message argument!");
throw new InvalidArgumentsRuntimeException("Missing message or channel argument!");
}
if (scriptEntry.dbCallShouldDebug()) {
Debug.report(scriptEntry, getName(), id, name, message, channel, isPrivate ? db("private", true) : "");
Expand Down

0 comments on commit b217e73

Please sign in to comment.