Fix typos

This commit is contained in:
2025-10-24 19:08:22 +10:00
parent 175e96c7e2
commit 4da04dc7d5
2 changed files with 3 additions and 3 deletions

View File

@@ -5,9 +5,9 @@ CREATE TABLE voicelog_guilds(
webhook_url TEXT,
created_at TIMESTAMPTZ DEFAULT NOW(),
_timestamp TIMESTAMPTZ DEFAULT NOW()
)
);
CREATE TRIGGER voicelog_guilds_timestamp BEFORE UPDATE ON voicelog_guilds
FOR EACH ROW EXECUTE FUNCTION update_timestamp_column();
END;
COMMIT;

View File

@@ -39,7 +39,7 @@ class VoiceLogCog(LionCog):
if row is None or row.webhook_url is None:
return
hook = ThreadedWebhook.from_url(logger.webhook_url, client=self.bot)
hook = ThreadedWebhook.from_url(row.webhook_url, client=self.bot)
embed = discord.Embed(timestamp=utc_now())