Use !whois-as to lookup Whois Registration Data for Internet Autonomous Systems.

Whois registration data for Internet Protocol (IP) numbers are maintained by the Regional Internet Registries and contain registrant contact points along with technical details for each IP number registration.

Autonomous System Numbers (ASNs) are used in the Border Gateway Protocol (BGP) to identify an IP network managed or connected to the Internet by a single organization.

Usually, you do not need to prefix your query with !whois-as and !whois should work just fine.

Usage Examples:
!whois 1
!whois as2
!whois asn3
!whois AS4
!whois ASn5
!whois ASN6
!whois 7
!whois as4608
!whois aS1299
!whois 39556
!whois-as asn2499
!whois-as as2
!whois-as AS3
!whois-as 23456
!whois-as 3333
!whois-as 64950
!whois-as as265629
!whois-as 4200000000
!whois-as 4294967295


Also see:
!help !whois
!help !rdap

  
          _     _ 
        / (_____) \
      /| ___   ___ |\
     (|| \__| |__/ ||)
      ||           ||
        \|       |/
         \ _____ /
     _   | \___/ |   _
     \\ _/\_____/\_ //
     /\\/IPDUHUDPI\//\