fix(voicefix): Fix typo in webhook cmd.

This commit is contained in:
2024-03-24 17:45:49 +10:00
parent 11381f8e80
commit 850c5d7abb

View File

@@ -436,7 +436,7 @@ class VoiceFixCog(LionCog):
return return
hook = discord.Webhook.from_url(webhook, client=self.bot) hook = discord.Webhook.from_url(webhook, client=self.bot)
existing = await self.data.LionHook.fetch(channel.id) existing = await self.data.LinkHook.fetch(channel.id)
if existing: if existing:
await existing.update(webhookid=hook.id, token=hook.token) await existing.update(webhookid=hook.id, token=hook.token)
else: else: