Code refactoring
This commit is contained in:
parent
53fe437100
commit
91f2d6cb21
@ -21,6 +21,14 @@ from collections import namedtuple
|
|||||||
|
|
||||||
|
|
||||||
# imports
|
# imports
|
||||||
|
from .category_channel import CategoryChannel
|
||||||
|
from .container import Container
|
||||||
|
from .guild import Guild
|
||||||
|
from .member import Member
|
||||||
|
from .role import Role
|
||||||
|
from .text_channel import TextChannel
|
||||||
|
from .thread import Thread
|
||||||
|
from .voice_channel import VoiceChannel
|
||||||
|
|
||||||
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
||||||
version_info = VersionInfo(major='2022', minor='10', micro='2')
|
version_info = VersionInfo(major='2022', minor='10', micro='2')
|
||||||
|
@ -2,7 +2,7 @@ import discord
|
|||||||
|
|
||||||
from cpl_discord.container.container import Container
|
from cpl_discord.container.container import Container
|
||||||
from cpl_discord.container.member import Member
|
from cpl_discord.container.member import Member
|
||||||
from cpl_discord.container.threads import Thread
|
from cpl_discord.container.thread import Thread
|
||||||
from cpl_discord.helper.to_containers_converter import ToContainersConverter
|
from cpl_discord.helper.to_containers_converter import ToContainersConverter
|
||||||
from cpl_query.extension import List
|
from cpl_query.extension import List
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ from collections import namedtuple
|
|||||||
|
|
||||||
|
|
||||||
# imports
|
# imports
|
||||||
|
from .to_containers_converter import ToContainersConverter
|
||||||
|
|
||||||
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
||||||
version_info = VersionInfo(major='2022', minor='10', micro='2')
|
version_info = VersionInfo(major='2022', minor='10', micro='2')
|
||||||
|
Loading…
Reference in New Issue
Block a user