Skip to content

Commit

Permalink
chore: Version bump to v5.1.5 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ue-Dev authored Jul 6, 2023
2 parents ad67c52 + bbf862f commit 7263181
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions exts/server/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,13 @@ async def on_guild_member_remove(
"""GUILD_REMOVE gateway event."""

member = _member.member
guild_name = (self.client.get_guild(_member.guild_id)).name
guild = self.client.get_guild(_member.guild_id)
embed = interactions.Embed(
title="Goodbye! 😢",
description="".join(
[
f"Goodbye **{member.username}#{member.discriminator}**!",
f" Thanks for joining {guild_name}.",
f" Thanks for joining {guild.name}.",
],
),
color=random.randint(0, 0xFFFFFF),
Expand All @@ -197,7 +197,7 @@ async def on_guild_member_remove(
member.user.avatar.url if member.avatar else None
)

for channel in member.guild.channels:
for channel in guild.channels:
if channel.name == "welcome-goodbye" and int(channel.type) == 0:
await channel.send(embeds=embed)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Articuno"
version = "v5.1.4"
version = "v5.1.5"
description = "A fun Discord Bot, written with interactions.py."
license = "GPL-3.0-only"
authors = ["B1ue-Dev <b1uedev@duck.com>"]
Expand Down

0 comments on commit 7263181

Please sign in to comment.