add dockerfile and release first version

This commit is contained in:
2025-06-20 16:06:50 +07:00
parent 9d73a5b763
commit 300807e26a
12 changed files with 318 additions and 51 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ class ChannelRepository:
try:
response = self.table.select('*').eq('channel_id', channel_id).execute()
if response.data:
return DiscordChannel(**response.data[0])
return DiscordChannel.model_validate(response.data[0])
return None
except Exception as e:
print(f"Error getting channel: {e}")