Skip to content

Commit

Permalink
修复已知的bug,增强程序稳定性
Browse files Browse the repository at this point in the history
优化启动流程,提升用户体验
  • Loading branch information
djkcyl committed Jan 19, 2023
1 parent 6de0280 commit 9bae202
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aunly_bbot/function/command/announcement.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@channel.use(
ListenerSchema(
listening_events=[GroupMessage],
inline_dispatchers=[Twilight([FullMatch("公告"), "anything" @ WildcardMatch()])],
inline_dispatchers=[Twilight([FullMatch("/公告"), "anything" @ WildcardMatch()])],
decorators=[Permission.require(Permission.MASTER)],
)
)
Expand Down
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@


if __name__ == "__main__":
from aunly_bbot.cli.run import run_bot
from aunly_bbot.cli import main

run_bot()
main()

0 comments on commit 9bae202

Please sign in to comment.