fix
This commit is contained in:
parent
f5671437a2
commit
401908a554
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ from core.utils.http import get_url
|
||||||
ip = module('ip', developers=['Dianliang233'])
|
ip = module('ip', developers=['Dianliang233'])
|
||||||
|
|
||||||
|
|
||||||
@ip.handle('<ip> {{ip.help}}')
|
@ip.handle('<ip_address> {{ip.help}}')
|
||||||
async def _(msg: Bot.MessageSession, ip_address: str):
|
async def _(msg: Bot.MessageSession, ip_address: str):
|
||||||
try:
|
try:
|
||||||
ipaddress.ip_address(ip_address)
|
ipaddress.ip_address(ip_address)
|
||||||
|
|
Reference in a new issue