Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
chore: remove wrong code
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNitroG committed Jan 15, 2025
1 parent 164f7be commit 338838a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/check_phat_nguoi/config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from .exceptions import NoConfigFoundException
from .models import (
BaseNotificationConfig,
BaseNotificationEngineConfig,
Expand All @@ -11,7 +10,6 @@
)

__all__ = [
"NoConfigFoundException",
"BaseNotificationConfig",
"BaseNotificationEngineConfig",
"Config",
Expand Down
2 changes: 1 addition & 1 deletion src/check_phat_nguoi/notify/engines/discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def _send_message(self, message: str, plate: str) -> None:

async def send(self) -> None:
try:
self.user = await self.bot.fetch_user(self.discord.user_id)
self.user = await self.bot.fetch_user(self.discord.chat_id)
await asyncio.gather(
*(
self._send_message(message, messages.plate)
Expand Down

0 comments on commit 338838a

Please sign in to comment.