@hook.command('steamid', 'sid', 'steamuser', 'su')
def steamid(text):
 try:
  data = get_data(text)
 except SteamError as e:
  return '{}'.format(e)
 return '{name} ({state}): \x02ID64:\x02 {id_64}, \x02ID32:\x02 {id_32}, \x02ID3:\x02 {id_3}'.format(**data)

@ hook . command ( 'steamid' , 'sid' , 'steamuser' , 'su' ) def steamid ( text ) : try : data = get_data ( text ) except SteamError as e : return '{}' . format ( e ) return '{name} ({state}): \x02ID64:\x02 {id_64}, \x02ID32:\x02 {id_32}, \x02ID3:\x02 {id_3}' . format ( ** data )
steamid <username> -- gets the steam id of <username> .