mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 18:29:14 +02:00
Add tons of sounds to soundboard
This commit is contained in:
@@ -1147,6 +1147,7 @@ here.
|
|||||||
* eggs-get-laid (Original Anime)
|
* eggs-get-laid (Original Anime)
|
||||||
* karen (Original Anime)
|
* karen (Original Anime)
|
||||||
* look-what-karen-have (Original Anime)
|
* look-what-karen-have (Original Anime)
|
||||||
|
* soundboard (Ayaya Sound)
|
||||||
- [KissClipart.com](https://www.kissclipart.com/)
|
- [KissClipart.com](https://www.kissclipart.com/)
|
||||||
* hat ([Witch Hat Image](https://www.kissclipart.com/halloween-witch-hat-clipart-witch-hat-clip-art-qfycyt/))
|
* hat ([Witch Hat Image](https://www.kissclipart.com/halloween-witch-hat-clipart-witch-hat-clip-art-qfycyt/))
|
||||||
- [Know Your Meme](https://knowyourmeme.com/)
|
- [Know Your Meme](https://knowyourmeme.com/)
|
||||||
@@ -1227,6 +1228,8 @@ here.
|
|||||||
* just-do-it ([Original Motivational Speech](https://www.youtube.com/watch?v=ZXsQAXx_ao0))
|
* just-do-it ([Original Motivational Speech](https://www.youtube.com/watch?v=ZXsQAXx_ao0))
|
||||||
- [muffinlabs - Today in History](http://history.muffinlabs.com/)
|
- [muffinlabs - Today in History](http://history.muffinlabs.com/)
|
||||||
* today-in-history ([API](http://history.muffinlabs.com/#api))
|
* today-in-history ([API](http://history.muffinlabs.com/#api))
|
||||||
|
- [Myinstants](https://www.myinstants.com/index/us/)
|
||||||
|
* soundboard ([Various Meme Sounds](https://www.myinstants.com/search/?name=meme))
|
||||||
- [Mythbusters](https://go.discovery.com/tv-shows/mythbusters)
|
- [Mythbusters](https://go.discovery.com/tv-shows/mythbusters)
|
||||||
* doors (Concept)
|
* doors (Concept)
|
||||||
- [NASA](https://www.nasa.gov/)
|
- [NASA](https://www.nasa.gov/)
|
||||||
@@ -1342,8 +1345,6 @@ here.
|
|||||||
* cat (API)
|
* cat (API)
|
||||||
- [RandomFox](https://randomfox.ca/)
|
- [RandomFox](https://randomfox.ca/)
|
||||||
* fox (API)
|
* fox (API)
|
||||||
- [Re:ZERO -Starting Life in Another World-](http://re-zero-anime.jp/)
|
|
||||||
* soundboard (Subaru Ringtone Sound)
|
|
||||||
- [Recipe Puppy](http://www.recipepuppy.com/)
|
- [Recipe Puppy](http://www.recipepuppy.com/)
|
||||||
* recipe ([API](http://www.recipepuppy.com/about/api/))
|
* recipe ([API](http://www.recipepuppy.com/about/api/))
|
||||||
- [RedBubble - Akbar Mna](https://www.redbubble.com/en/people/akbarmna/shop)
|
- [RedBubble - Akbar Mna](https://www.redbubble.com/en/people/akbarmna/shop)
|
||||||
@@ -1370,6 +1371,8 @@ here.
|
|||||||
* right-stuf (API)
|
* right-stuf (API)
|
||||||
- [Riot Games](https://www.riotgames.com/en)
|
- [Riot Games](https://www.riotgames.com/en)
|
||||||
* league-of-legends ([API](https://developer.riotgames.com/))
|
* league-of-legends ([API](https://developer.riotgames.com/))
|
||||||
|
- [Robret Henc](https://www.youtube.com/channel/UCYz0kLfJbdNHU9baJy6u68A)
|
||||||
|
* soundboard ([Subaru Ringtone Sound](https://www.youtube.com/watch?v=PEyKDgOTQi8))
|
||||||
- [RoboHash](https://robohash.org/)
|
- [RoboHash](https://robohash.org/)
|
||||||
* robohash (API)
|
* robohash (API)
|
||||||
- [Robotatertot](https://robotatertot.tumblr.com/)
|
- [Robotatertot](https://robotatertot.tumblr.com/)
|
||||||
|
|||||||
@@ -1,5 +1,28 @@
|
|||||||
[
|
[
|
||||||
|
"alarm",
|
||||||
|
"ayaya",
|
||||||
|
"call-of-the-witch",
|
||||||
|
"car-crash",
|
||||||
|
"cat",
|
||||||
|
"cow",
|
||||||
|
"dun-dun-dun",
|
||||||
|
"electric-zoo",
|
||||||
|
"error",
|
||||||
|
"fbi-open-up",
|
||||||
|
"hello-there",
|
||||||
|
"here-we-go-again",
|
||||||
|
"laugh-track",
|
||||||
|
"my-swamp",
|
||||||
"nipah",
|
"nipah",
|
||||||
|
"noot-noot",
|
||||||
|
"onee-chan",
|
||||||
"pikachu",
|
"pikachu",
|
||||||
"subaru ringtone"
|
"rooster",
|
||||||
|
"sad-violin",
|
||||||
|
"slow-clap",
|
||||||
|
"steve-hurt",
|
||||||
|
"subaru-ringtone",
|
||||||
|
"windows-start-up",
|
||||||
|
"you-got-mail",
|
||||||
|
"you-what"
|
||||||
]
|
]
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -29,9 +29,21 @@ module.exports = class SoundboardCommand extends Command {
|
|||||||
reason: 'Nipah Sound'
|
reason: 'Nipah Sound'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Re:ZERO -Starting Life in Another World-',
|
name: 'KINMOZA!',
|
||||||
url: 'http://re-zero-anime.jp/',
|
url: 'http://www.kinmosa.com/',
|
||||||
reason: 'Subaru Ringtone Sound'
|
reason: 'Ayaya Sound'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Robret Henc',
|
||||||
|
url: 'https://www.youtube.com/channel/UCYz0kLfJbdNHU9baJy6u68A',
|
||||||
|
reason: 'Subaru Ringtone Sound',
|
||||||
|
reasonURL: 'https://www.youtube.com/watch?v=PEyKDgOTQi8'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Myinstants',
|
||||||
|
url: 'https://www.myinstants.com/index/us/',
|
||||||
|
reason: 'Various Meme Sounds',
|
||||||
|
reasonURL: 'https://www.myinstants.com/search/?name=meme'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
args: [
|
args: [
|
||||||
@@ -39,8 +51,11 @@ module.exports = class SoundboardCommand extends Command {
|
|||||||
key: 'sound',
|
key: 'sound',
|
||||||
prompt: `What sound do you want to play? Either ${list(sounds, 'or')}.`,
|
prompt: `What sound do you want to play? Either ${list(sounds, 'or')}.`,
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: () => `${sounds[Math.floor(Math.random() * sounds.length)]}.mp3`,
|
validate: sound => {
|
||||||
oneOf: sounds,
|
const choice = sound.toLowerCase().replace(/ /g, '-');
|
||||||
|
if (sounds.includes(choice)) return true;
|
||||||
|
return `You provided an invalid sound. Please choose either ${list(sounds, 'or')}.`;
|
||||||
|
},
|
||||||
parse: sound => `${sound.toLowerCase()}.mp3`
|
parse: sound => `${sound.toLowerCase()}.mp3`
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "116.26.0",
|
"version": "116.27.0",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user