Archived
1
0
Fork 0
This commit is contained in:
多羅狼 2023-09-28 18:41:52 +08:00 committed by GitHub
parent f5671437a2
commit 401908a554
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)