2022.10.2 - Code refactoring #103

Merged
edraft merged 2 commits from 2022.10.2 into 2022.10 2022-09-12 22:31:04 +02:00
4 changed files with 10 additions and 1 deletions
Showing only changes of commit 91f2d6cb21 - Show all commits

View File

@ -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')

View File

@ -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

View File

@ -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')