Skip to content

Commit

Permalink
🔖 version 0.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Jul 26, 2024
1 parent e1981ff commit f9de862
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions arclet/entari/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ def __init__(self, *configs: Config):
@self.on_message(priority=0)
def log(event: MessageEvent):
logger.info(
f"[{event.channel.name or event.channel.id}{f'({event.channel.id})' if event.channel.name else ''})] "
f"{event.member.nick if event.member else (event.user.name or event.user.id)}({event.user.id}) ->"
f" {event.message.content!r}"
f"[{event.channel.name or event.channel.id}] "
f"{event.member.nick if event.member else (event.user.name or event.user.id)}"
f"({event.user.id}) -> {event.message.content!r}"
)

def on(
Expand Down
2 changes: 1 addition & 1 deletion arclet/entari/plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from loguru import logger

from .model import Plugin, PluginDispatcher
from .model import Plugin
from .model import PluginMetadata as PluginMetadata
from .model import _current_plugin
from .module import import_plugin
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.6.2"
version = "0.6.3"
description = "Simple IM Framework based on satori-python"
authors = [
{name = "RF-Tar-Railt",email = "rf_tar_railt@qq.com"},
Expand Down

0 comments on commit f9de862

Please sign in to comment.