Using the Clipbot - suisei-cn/starbuttons GitHub Wiki

With the pvp-clipbot and GitHub actions, the process from cliping audio to creating PR can be done with zero interference. How to use them?

Usage

To avoid abuseing, the bot only listen to people on its whitelist. Confirm that you are in the whitelist of the clipbot before expecting reply from the bot. The whitelist is maintained manually by @outloudvi, so please contact him to modify the list.

To clip a video on YouTube (and we don't support Bilibili since the server is abroad), write the following stuffs on the first line of your comment:

/clip youtube [Video ID] [Start sec] [End sec]

For example:

/clip youtube U84Pn69RIy0 321.75 349.56

The bot should contact you in minutes with the finished audio clip.

Optionally, to ask the bot to make a PR, contain " pr " (with at least one space before and after) and the information block (as the format in sound.json!) in your comment. An example is:

/clip youtube U84Pn69RIy0 321.75 349.56 please pr this

```
{
    "name": "Today Sui-chan is still kawaii! (Lovely and quietly)",
    "name_l10n": {
      "zh": "ε½—ι…±δ»Šε€©δΉŸεΎˆε‘ε“‡δΌŠο½žοΌοΌˆε₯Άε£°ε₯Άζ°”οΌ‰",
      "ja": "γ™γ„γ‘γ‚ƒγ‚“γ―γ€δ»Šζ—₯γ‚‚γ‹γ‚γ„γ„γ€œοΌοΌˆζ„›γ‚‰γ—γ„γ€γ²γγ‚„γ‹γ«οΌ‰"
    }
}
​```

Also, you can use YAML:

/clip youtube U84Pn69RIy0 321.75 349.56 please pr this
​
```
name: Today Sui-chan is still kawaii! (Lovely and quietly)
name_l10n:
  zh: ε½—ι…±δ»Šε€©δΉŸεΎˆε‘ε“‡δΌŠο½žοΌοΌˆε₯Άε£°ε₯Άζ°”οΌ‰
  ja: γ™γ„γ‘γ‚ƒγ‚“γ―γ€δ»Šζ—₯γ‚‚γ‹γ‚γ„γ„γ€œοΌοΌˆζ„›γ‚‰γ—γ„γ€γ²γγ‚„γ‹γ«οΌ‰
​```

(Thanks @Hoshimachiyuri by providing this example!)

Then the audio will be clipped and PR will be automatically generated.

⚠️ **GitHub.com Fallback** ⚠️