Skip to content

Commit 41d15cc

Browse files
committed
Remove unneeded import
1 parent 3df806e commit 41d15cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bot/exts/help_channels/_channel.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
import arrow
55
import discord
6-
import pydis_core
76
from pydis_core.utils import scheduling
87
from pydis_core.utils.channel import get_or_fetch_channel
98

@@ -46,7 +45,7 @@ def is_help_forum_post(channel: discord.abc.GuildChannel) -> bool:
4645
async def _close_help_post(closed_post: discord.Thread, closing_reason: _stats.ClosingReason) -> None:
4746
"""Close the help post and record stats."""
4847
# Get Thread with updated metadata (such as the title)
49-
closed_post = await pydis_core.utils.channel.get_or_fetch_channel(bot.instance, closed_post.id)
48+
closed_post = await get_or_fetch_channel(bot.instance, closed_post.id)
5049

5150
embed = discord.Embed(description=CLOSED_POST_MSG)
5251
embed.set_author(name=f"{POST_TITLE} closed", icon_url=CLOSED_POST_ICON_URL)

0 commit comments

Comments
 (0)