Skip to content

Commit

Permalink
🔖 version 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Nov 26, 2024
1 parent 7588c1e commit e73809a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions arclet/entari/command/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
from arclet.letoderea.handler import depend_handler
from arclet.letoderea.provider import ProviderFactory
from nepattern import DirectPattern
from tarina.trie import CharTrie
from satori.element import At, Text
from tarina.string import split
from tarina.trie import CharTrie

from ..event import MessageCreatedEvent
from ..message import MessageChain
from .argv import MessageArgv # noqa: F401
from .model import CommandResult, Match, Query
from .plugin import mount, CommandExecute
from .plugin import CommandExecute, mount
from .provider import AlconnaProviderFactory, AlconnaSuppiler, MessageJudger, get_cmd

T = TypeVar("T")
Expand Down
8 changes: 4 additions & 4 deletions arclet/entari/command/plugin.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from __future__ import annotations

from typing import Any
from dataclasses import dataclass
from typing import Any

from arclet.alconna import Alconna, command_manager, output_manager, Arparma
from arclet.letoderea import AuxType, BaseAuxiliary, Provider, ProviderFactory, Contexts, es, Scope, Interface
from arclet.alconna import Alconna, Arparma, command_manager, output_manager
from arclet.letoderea import AuxType, BaseAuxiliary, Contexts, Interface, Provider, ProviderFactory, Scope, es

from ..event import MessageCreatedEvent
from ..message import MessageChain
from ..plugin.model import Plugin, PluginDispatcher
from .model import Match, Query, CommandResult
from .model import CommandResult, Match, Query
from .provider import AlconnaProviderFactory, AlconnaSuppiler, Assign, MessageJudger, _seminal


Expand Down
6 changes: 2 additions & 4 deletions arclet/entari/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from contextlib import suppress
import os

from arclet.letoderea import BaseAuxiliary, Contexts, Param, Provider, es, ProviderFactory, global_providers
from arclet.letoderea import BaseAuxiliary, Contexts, Param, Provider, ProviderFactory, es, global_providers
from launart import Launart
from loguru import logger
from satori import LoginStatus
Expand Down Expand Up @@ -97,9 +97,7 @@ def on_message(
auxiliaries: list[BaseAuxiliary] | None = None,
providers: list[Provider | type[Provider] | ProviderFactory | type[ProviderFactory]] | None = None,
):
return es.on(
MessageCreatedEvent, priority=priority, auxiliaries=auxiliaries, providers=providers
)
return es.on(MessageCreatedEvent, priority=priority, auxiliaries=auxiliaries, providers=providers)

def ensure_manager(self, manager: Launart):
self.manager = manager
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "arclet-entari"
version = "0.8.0"
version = "0.8.1"
description = "Simple IM Framework based on satori-python"
authors = [
{name = "RF-Tar-Railt",email = "[email protected]"},
Expand Down

0 comments on commit e73809a

Please sign in to comment.