mirror of
https://github.com/MelisaDev/melisa.git
synced 2024-09-22 19:22:01 +03:00
add license
This commit is contained in:
parent
d53b349e95
commit
b99035f665
23 changed files with 79 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
# Copyright MelisaDev 2022 - Present
|
||||
# Full MIT License can be found in `LICENSE.txt` at the project root.
|
||||
|
||||
from .gateway import Gateway
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 *
|
||||
|
|
|
@ -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 *
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
# Copyright MelisaDev 2022 - Present
|
||||
# Full MIT License can be found in `LICENSE.txt` at the project root.
|
||||
|
||||
from .guild import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
# Copyright MelisaDev 2022 - Present
|
||||
# Full MIT License can be found in `LICENSE.txt` at the project root.
|
||||
|
||||
from __future__ import annotations
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
# Copyright MelisaDev 2022 - Present
|
||||
# Full MIT License can be found in `LICENSE.txt` at the project root.
|
|
@ -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 *
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue