Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slackerbot ip address info #450

Merged

Conversation

Pradeep567iaf
Copy link
Contributor

Major change - Change the formatting to slack mark down instead on send json as output to slack.

/*
File: fetch IP Address Information.js

Description: This script extracts an IP address from user input, validates the format, and retrieves geographic and network details (e.g., city, region, country, ISP) using the ipinfo.io API. The result is then sent back to the user via a chat interface. If the input is invalid, it returns an error message. 

Activation Example: Triggered by the command "!ipinfo" followed by an IP address.
*/
Change the  formatting to slack mark down instead of sending json as output to slack
@earlduque earlduque merged commit 9b05f4b into ServiceNowDevProgram:main Oct 28, 2024
1 check passed
@earlduque
Copy link
Collaborator

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants