add license

This commit is contained in:
grey-cat-1908 2022-03-18 15:03:36 +03:00
parent d53b349e95
commit b99035f665
23 changed files with 79 additions and 1 deletions

View file

@ -1 +1,14 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from .client import *
from .models import Intents
from .exceptions import *
__package__ = "melisa"
__title__ = "Melisa"
__description__ = "Cache-configurable module to interact with the Discord API."
__author__ = "MelisaDev"
__license__ = "MIT"

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from .models import User
from .models.app import Shard
from .utils import Snowflake, APIModelBase
@ -20,7 +23,7 @@ class Client:
----------
token : :class:`str`
The token to login (you can found it in the developer portal)
intents : :class:`~objects.app.intents.Intents`
intents : :class:`~melisa.Intents`
The Discord Intents values.
activity : :class:`~models.user.presence.BotActivity`
The Activity to set (on connecting)

View file

@ -1 +1,4 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from .gateway import Gateway

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
import json
import asyncio
import sys

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from __future__ import annotations
import asyncio

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
class MelisaException(Exception):
"""Base exception"""
pass

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from __future__ import annotations
from glob import glob

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from __future__ import annotations
from ..utils.types import Coro

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from __future__ import annotations
import asyncio

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from .app import *
from .guild import *
from .user import *

View file

@ -1,2 +1,5 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from .intents import *
from .shard import *

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from __future__ import annotations
from enum import IntFlag

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from __future__ import annotations
from asyncio import create_task, sleep

View file

@ -1 +1,4 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from .guild import *

View file

@ -1 +1,4 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from __future__ import annotations

View file

@ -0,0 +1,2 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.

View file

@ -1,2 +1,5 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from .presence import *
from .user import *

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from dataclasses import dataclass
from enum import IntEnum, Enum, Flag
from typing import Optional, Tuple, List, Literal

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from __future__ import annotations
from enum import IntEnum

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from .types import (
Coro
)

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from __future__ import annotations
import copy

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from __future__ import annotations

View file

@ -1,3 +1,6 @@
# Copyright MelisaDev 2022 - Present
# Full MIT License can be found in `LICENSE.txt` at the project root.
from __future__ import annotations
from typing import TypeVar, Callable, Coroutine, Any, Union