Skip to content

Commit

Permalink
v0.2.8.1-beta
Browse files Browse the repository at this point in the history
Merge pull request #24 from Hamziee/dev
  • Loading branch information
Hamziee authored May 10, 2024
2 parents dc155a5 + 9310337 commit e064c1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ The following versions will receive security updates as needed:

| Version | Supported |
| ------------ | ------------------ |
| 0.2.8.0-beta | :white_check_mark: |
| < v0.2.8.0-beta | :x: |
| 0.2.8.1-beta | :white_check_mark: |
| < 0.2.8.1-beta | :x: |

## Reporting a Vulnerability

Expand Down
4 changes: 2 additions & 2 deletions commands/xiaojie.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ def __init__(self, client: commands.Bot):
async def xiaojie(self, interaction: discord.Interaction):
try:
async with httpx.AsyncClient() as client:
response = await client.get("https://api.hamzie.us.to/v1/images/xiaojie")
response = await client.get("https://api.hamzie.site/v1/images/xiaojie")
response.raise_for_status()
data = response.json()
image_url = data["link"]
embed = discord.Embed(
color=discord.Colour.blurple()
)
embed.set_image(url=image_url)
embed.set_footer(text=f"Ava | version: {config.AVA_VERSION} - Image by: api.hamzie.us.to", icon_url="https://cdn.discordapp.com/avatars/1209925239652356147/38e76bc9070eb00f2493b6edeab22b33.webp")
embed.set_footer(text=f"Ava | version: {config.AVA_VERSION} - Image by: api.hamzie.site", icon_url="https://cdn.discordapp.com/avatars/1209925239652356147/38e76bc9070eb00f2493b6edeab22b33.webp")

await interaction.response.send_message(embed=embed)
except httpx.HTTPError as http_err:
Expand Down
2 changes: 1 addition & 1 deletion ex_config (change me to config.py).py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AVA_VERSION='v0.2.8.0-beta' # Do not change this, it will help with troubleshooting later
AVA_VERSION='v0.2.8.1-beta' # Do not change this, it will help with troubleshooting later

# Required Bot Configuration

Expand Down

0 comments on commit e064c1a

Please sign in to comment.