top of page

Kinks More Bot

This is a Web API  for Discord.

It posts a random Kinks combination to the specified Discord server.

Reading this page, you can use Kinks More Bot in your Discord server.
 

There are four things you need to do:

  1. Get Webhook URL of your D iscord server

  2. Create Access Program with Google Apps Script

  3.  Set Block / Additional List (Optional)

  4.  Set Posting Schedule

About Flow

Schedule Settings

Call by Time

 

Google Apps Script

Block/Add List

Webhook

Call

 

Kinks More Bot

 

Post Kinks

 

Your Discord Channel

 

Kinks

1. Get Webhook URL of your Discord channel

First, you need to get the "key" to access your Discord server channel.

This key is called a Webhook URL.

Please get the WebHook URL on your Discord along the following process.
The channel you should get Webhook URL is where you want to post using by Kinks More Bot.
https://help.dashe.io/en/articles/2521940-how-to-create-a-discord-webhook-url

The Webhook URL will be used the next step.

2. Create Access Program with Google Apps Script

Create a program using Google Apps Script.
All you need is your Google account.

1. Create New Project

Access your google drive:

https://drive.google.com/drive/my-drive

And create new project from the menu:

 New > More > Google Apps Script

The new project is created.

create-1.jpg

2. Copy Script

The new project is named as "Untitled project"

and there is a script about "myFunction" in your script area.

First, remove all in your script area.

Then copy and paste the below script.

Pushing the "Copy Button", you can copy all script.

create-2-1.jpg

As a result, it will be this way.


Also, about project names, you can give the name you like.

Whenever you want to edit it, you can find it with the project name in your GoogleDrive.

This time, it was named as "Kinks Bot"

create-3.jpg

3. Set your Webhook URL

Next, edit the script to specify your Webhook URL.

 

It's in line 7. Fill the your Webhook URL between [ ' ].

For example, if it's "https://example", edit as like the following:

'webhook' : 'https://example',

Please be careful not to remove [ ' ] or [ , ] because all marks have meaning.

4. Save and Test Run

As Kinks Bot has been completed, test run it.

Click "Save project" button to save.

After that, click the "Run" button to do the test.

create-4.jpg

When running a script for the first time, you need to authorize your script yourself.

Click "Review permissions" and proceed.

Then select your Google Account to set the permission.

Click the following to proceed:

1. Advance

2. Go to Kinks Bot (unsafe)

3. Allow

Various warnings are displayed, but please don't worry.

If the permission settings success, Kinks will be posted to your Discord server.

At this point, script creation has been completed!

If there is no post, something may be wrong.

You can post Kinks each time you press the Run button.

About the registration of the Block List or automatic execution by the schedule, refer to the next items.

create-5.jpg
create-5.jpg
create-6.jpg
create-7.jpg

3. Set Block/Additional List (Optional)

If you dislike some kinks words, you can add them to the block list to erase from candidates.

1. Check the existing Kinks

Random Kinks will be selected from this list.

If you want to add some Kinks to the Block List, you can choose and input it at the next step.

Also, if you wan to add something new Kinks other than list, you can add it at the after next step.

2. Add to the Block List

Edit the script to add the block kinks.

It will set as "NG(no-good)" items.

It's in line 8. Fill the block kinks between [ ' ].

For example, if it's "Sex", edit as like the following:

'ng' : 'Sex',

Also, if you want to add the multiple kinks,

you can write by separating with [ , ] as like this:

'ng' : 'Sex , Hyper Fat , Xeno / Alien',

 

In addition, there are the following rules:

  1. The difference of uppercase and lowercase letters is ignored.

  2. Partial match is valid. For example, If "sex" is specified as in the example, "sexual" is also blocked.

Save the project with Save Button at the last.

You could add the block kinks.

The block kinks will be applied automatically when the kinks post.

3. Add to the Additional List

If you need new Kinks,

You can add it in the same way as BlockList.

However, it's in line 9 "add".

'add' : 'ExampleKinks'

Also, if you want to add the multiple kinks,

you can write by separating with [ , ] as like this:

'add' : 'Example1, Example2 , Example3'

In addition, the contents of the AdditionalList are not affected by the BlockList.

Save the project with Save Button at the last.

You could add the additional kinks.

The additional kinks will be applied automatically when the kinks post.

4. Set Posting Schedule

Set the schedule to post regularly automatically.

Display the trigger menu from the side menu.

And click the "+ Add Trigger" button.

schedule-1.jpg
schedule-2.jpg

Trigger setting window.

"postKinks" is the function you created at the above process.

And it is chosen as the target already.

You can set the schedule by editing the following items:

  1. Select type of time based trigger

  2. Select hour interval

For example, editing like following,

it will be posted every 12 hours.

Save the trigger with "Save" button after editing.

The trigger is activated and added to the list.

schedule-4.jpg

That's all!

Posting is executed automatically according to the trigger.

 

If you have a question, please feel free to ask me in my Discord server:
https://discord.com/invite/HHHk5mW

Thank you :)

schedule-3.jpg
bottom of page