Skip to content

Commit

Permalink
Merge pull request #18 from macarooni-man/dev
Browse files Browse the repository at this point in the history
Added module to ChatGPT amscript
  • Loading branch information
macarooni-man authored Dec 20, 2023
2 parents b663128 + 76a4d92 commit d6f6ccb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified amscript-library/ChatGPT/libs.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion source/amscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,7 @@ def log(self, msg, color="gray", style='italic', tag=False):
if constants.version_check(str(self._server.version), '>=', '1.7.2') and not self.is_server:
msg = f'/tellraw {self.name} {{"text": {json.dumps(msg)}, "color": "{color}"}}'
if style != 'normal':
msg = msg[:-1] + f', "{style}": "true"}}'
msg = msg[:-1] + f', "{style}": true}}'
self._server.execute(msg, log=False)

# Pre 1.7.2
Expand Down

0 comments on commit d6f6ccb

Please sign in to comment.