Skip to content

Commit

Permalink
chore: Migrate to Nexus
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Jul 13, 2023
1 parent 2b4d23e commit 9ae1c5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ For information on how to use the bot, see https://zibot.aap.my.id/docs
| ZIBOT\_AUTHOR | author | Change the bot's author name (and tag) shown in the info command |
| **CURRENTLY NOT AVAILABLE** | links | Change the links shown in the info command |
| **CURRENTLY NOT AVAILABLE** | TORTOISE\_ORM | Advanced TortoiseORM configuration, you shouldn't touch it if you're not familiar with TortoiseORM |
| ZIBOT\_INTERNAL\_API\_HOST | internalApiHost | The bot's [internal API](https://github.com/ZiRO-Bot/RandomAPI) |
| ZIBOT\_INTERNAL\_API\_HOST | internalApiHost | The bot's [internal API](https://github.com/ZiRO-Bot/nexus) |
| ZIBOT\_ZMQ\_PUB | zmqPorts | Port for ZeroMQ's Publish |
| ZIBOT\_ZMQ\_SUB | zmqPorts | Port for ZeroMQ's Subscribe |
| ZIBOT\_ZMQ\_REP | zmqPorts | Port for ZeroMQ's Reply |
Expand Down
4 changes: 2 additions & 2 deletions src/zibot/exts/image/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class Image(commands.Cog, CogMixin):

def __init__(self, bot):
super().__init__(bot)
# Source: https://github.com/ZiRO-Bot/RandomAPI
self.imageManipUrl = f"http://{self.bot.config.internalApiHost}/api/v1/image"
# Source: https://github.com/ZiRO-Bot/nexus/tree/2.0
self.imageManipUrl = f"http://{self.bot.config.internalApiHost}/v1/image"

# TODO: Slash
async def doImageFilter(
Expand Down

0 comments on commit 9ae1c5b

Please sign in to comment.