fix(twitch): Fix broken imports
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
import twitchio
|
||||
|
||||
from meta import Bot
|
||||
from utils.lib import utc_now, strfdur
|
||||
from utils.lib import utc_now, strfdelta
|
||||
|
||||
from ..customcmd.parser import ExecContext
|
||||
from ..customcmd.client import ExecClient
|
||||
@@ -34,7 +34,7 @@ class CustomCmdUser:
|
||||
followed_at = follower.followed_at
|
||||
|
||||
if followed_at:
|
||||
durstr = strfdur(utc_now() - followed_at)
|
||||
durstr = strfdelta(utc_now() - followed_at)
|
||||
resp = (
|
||||
f"{self.user.mention} has been following {channel.mention} for {durstr}"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user