thieleju / statsbot

Discord Bot to gather data from public APIs using node.js and discord.js! Hacktoberfest Event Project
MIT License
22 stars 45 forks source link

Add /shortenLink command using Go Tiny API #17

Closed thieleju closed 1 year ago

thieleju commented 2 years ago

Command Name

/shortenLink [link]

Public API Resource

https://github.com/robvanbakel/gotiny-api#usage

Description

The bot should accept the link parameter and create a POST request to https://gotiny.cc/api to shorten it. The shortened url should be returned to the user.

Response

{
  "long": "https://amazon.com/very-long-url",
  "code": "y68hxc"
}

Implementation Details

Code of Conduct

Madhvik007 commented 2 years ago

Can you assign me for this?

thieleju commented 2 years ago

@Madhvik007 Sure, go ahead!

thieleju commented 2 years ago

Hey, @Madhvik007. There are about two more weeks to Hacktoberfest. Do you need any help setting up the project? Feel free to ask me :)

thieleju commented 1 year ago

Only a week left for Hacktoberfest, this issue is up for grabs again

hkmekala commented 1 year ago

@thieleju, Please assign it to me!

hkmekala commented 1 year ago

@thieleju, I have raised a PR, Thank you.

thieleju commented 1 year ago

@hkmekala Well done! I approved your pr #152 and labeled it with the hacktoberfest-accepted label.

Keep contributing ❤️