Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.
/ Captain_Hook Public archive

Have you ever wanted to mess around with webhooks? Now you can! Send elegant looking messages through a webhook that say whatever you want with just an easy-to-use website. No code required. Just fill in some text boxes and click send!

License

Notifications You must be signed in to change notification settings

SmoreSoftware/Captain_Hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Captain Hook

Ever wanted to screw around with webhooks? Now you can!

Instillation

-Clone or download the repository.
-Create a webhook on your desired server.
-Create a config.json. The content of it should be this:

{
  "id": "your webhook ID goes here",
  "token": "your webhook token goes here"
}

You can get the values of "id" and "token" from looking at your webhook URL.

https://discordapp.com/api/webhooks/id/token

-Open a terminal window. Run the following command:

npm install

When that finishes running, you are installed and ready to go.

Setting up

-Run the following command:

npm start

-Open a browser window. Go to the following webpage:

localhost:8000

You are now ready to use your webhook to send messages!

Sending messages

Once you get your webpage loaded in and you see a list of text fields, you are ready to send a message.
In order to send a message, you must fill in the text fields with what you want to send.
On v1, you must fill in all the text fields with an appropriate value.
How to fill in fields appropriately:
-Webhook Username should be what you want the username of the hook to be
-Webhook Avatar should be a link that will be used as the webhook's avatar/profile picture
-Color must be a hex value (find them here)
-Author name should be the name you want to show up in the message as the Author
-Author icon should be a link that will be used for the author's icon
-Title should be what you want the title to be
-First text field should be some text you want under the title
-Second text field should be some text you want under the first text field
-Field 1 Title should be the tile you want for the field under the second text field
-Field 1 Value should be the text you want under the Field 1 Title
-Field 1 Short should be true or false (this is explained below)
-Field 2 Title should be the tile you want for the field under or next to Field 1
-Field 2 Value should be the text you want under the Field 2 Title
-Field 2 Short should be true or false (this is explained below)
-Footer should be some text you want to appear at the bottom of the message

What does "short" do?

The "short" option on Fields 1 and 2 determines how much space the fields should take up.
If you want Fields 1 and 2 to show up next to each other, set "short" to true for both of them.
Below are some examples of messages with different settings for the value of "short".
Both true
Neither true
Field 1 true, Field 2 false
Field 1 false, Field 2 true

Looking for something more?



I am working on a v2 update that will massive changes.
Planned changes:

-Landing page with navigation and customization
-Easier ways of setting things
-Multiple types of things to send (embeds, simple text, and more)
-Security features

Stay tuned for the massive v2 update!

About

Have you ever wanted to mess around with webhooks? Now you can! Send elegant looking messages through a webhook that say whatever you want with just an easy-to-use website. No code required. Just fill in some text boxes and click send!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published