Skip to content

Commit

Permalink
fix: missing description
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka13514 committed Oct 18, 2023
1 parent 48617fb commit ea595d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions atribot/plugins/nonebot_plugin_mcstatus/handle.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ async def add(cls, args: Namespace) -> str:
Data().add_server(
Server(name=args.name,
address=args.address,
description=args.description,
server_type=server_type,
online=True,
players=players,
Expand Down
1 change: 1 addition & 0 deletions atribot/plugins/nonebot_plugin_mcstatus/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Namespace(ArgNamespace):
add = subparsers.add_parser("add", help="add server")
add.add_argument("name")
add.add_argument("address")
add.add_argument("description")

remove = subparsers.add_parser("remove", help="remove server")
remove.add_argument("name")
Expand Down

0 comments on commit ea595d4

Please sign in to comment.