Skip to content

Commit

Permalink
⚡ fisxx
Browse files Browse the repository at this point in the history
  • Loading branch information
tookender committed May 18, 2024
1 parent 3c47ba1 commit 5fde5ff
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions utils/utils.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import datetime
import itertools
import time
from typing import Coroutine
from typing import Coroutine, TYPE_CHECKING

import discord
import pygit2

from bot import Korii

if TYPE_CHECKING:
from bot import Korii
else:
from discord.ext.commands import bot as Korii

async def shorten_text(bot: Korii, text: str, length: int | None = None, code: int | None = None, link: bool = False):
"""A function to shorten text
Expand Down

0 comments on commit 5fde5ff

Please sign in to comment.