Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Oct 30, 2023
2 parents f6d03df + ace4888 commit db8ee01
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
5 changes: 2 additions & 3 deletions freeloadermode/_tagscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@
SOFTWARE.
"""

from typing import Final, List, Dict, Union, final
from typing import Dict, Final, List, Union, final

import discord
from redbot.core.utils.chat_formatting import humanize_number

import TagScriptEngine as tse
from redbot.core.utils.chat_formatting import humanize_number

TAGSCRIPT_LIMIT: Final[int] = 10_000

Expand Down
6 changes: 3 additions & 3 deletions freeloadermode/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
SOFTWARE.
"""

from datetime import timedelta, timezone, datetime
from typing import Literal, Optional, Union, Dict, Any
from datetime import datetime, timedelta, timezone
from typing import Any, Dict, Literal, Optional, Union

import discord
from redbot.core import commands
from redbot.core.utils.chat_formatting import box

from .converters import TimeConverter, BanLengthConverter, TagScriptConverter
from .abc import CompositeMetaClass, MixinMeta
from .converters import BanLengthConverter, TagScriptConverter, TimeConverter
from .utils import guild_roughly_chunked


Expand Down
11 changes: 5 additions & 6 deletions freeloadermode/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,27 @@
"""

import asyncio
import logging
import contextlib
import logging
from datetime import datetime, timedelta, timezone
from typing import Coroutine, Final, List, Dict, Union, Any, Optional, Literal
from typing import Any, Coroutine, Dict, Final, List, Literal, Optional, Union

import discord
import TagScriptEngine as tse
from discord.ext import tasks
from redbot.core.bot import Red
from redbot.core import Config, commands, modlog
from redbot.core.bot import Red
from redbot.core.utils import AsyncIter
from redbot.core.utils.chat_formatting import humanize_list

import TagScriptEngine as tse
from redbot.core.utils.mod import get_audit_reason

from .abc import CompositeMetaClass
from ._tagscript import (
TAGSCRIPT_LIMIT,
TagCharacterLimitReached,
freeloader_message,
process_tagscript,
)
from .abc import CompositeMetaClass
from .commands import CommandsMixin

log: logging.Logger = logging.getLogger("red.seina.freeloadermode")
Expand Down

0 comments on commit db8ee01

Please sign in to comment.