fix(voicefix): Fix typo in webhook cmd.
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user