mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Add tons of sounds to soundboard
This commit is contained in:
@@ -1147,6 +1147,7 @@ here.
|
||||
* eggs-get-laid (Original Anime)
|
||||
* karen (Original Anime)
|
||||
* look-what-karen-have (Original Anime)
|
||||
* soundboard (Ayaya Sound)
|
||||
- [KissClipart.com](https://www.kissclipart.com/)
|
||||
* hat ([Witch Hat Image](https://www.kissclipart.com/halloween-witch-hat-clipart-witch-hat-clip-art-qfycyt/))
|
||||
- [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))
|
||||
- [muffinlabs - Today in History](http://history.muffinlabs.com/)
|
||||
* 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)
|
||||
* doors (Concept)
|
||||
- [NASA](https://www.nasa.gov/)
|
||||
@@ -1342,8 +1345,6 @@ here.
|
||||
* cat (API)
|
||||
- [RandomFox](https://randomfox.ca/)
|
||||
* 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 ([API](http://www.recipepuppy.com/about/api/))
|
||||
- [RedBubble - Akbar Mna](https://www.redbubble.com/en/people/akbarmna/shop)
|
||||
@@ -1370,6 +1371,8 @@ here.
|
||||
* right-stuf (API)
|
||||
- [Riot Games](https://www.riotgames.com/en)
|
||||
* 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 (API)
|
||||
- [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",
|
||||
"noot-noot",
|
||||
"onee-chan",
|
||||
"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'
|
||||
},
|
||||
{
|
||||
name: 'Re:ZERO -Starting Life in Another World-',
|
||||
url: 'http://re-zero-anime.jp/',
|
||||
reason: 'Subaru Ringtone Sound'
|
||||
name: 'KINMOZA!',
|
||||
url: 'http://www.kinmosa.com/',
|
||||
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: [
|
||||
@@ -39,8 +51,11 @@ module.exports = class SoundboardCommand extends Command {
|
||||
key: 'sound',
|
||||
prompt: `What sound do you want to play? Either ${list(sounds, 'or')}.`,
|
||||
type: 'string',
|
||||
default: () => `${sounds[Math.floor(Math.random() * sounds.length)]}.mp3`,
|
||||
oneOf: sounds,
|
||||
validate: sound => {
|
||||
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`
|
||||
}
|
||||
]
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "116.26.0",
|
||||
"version": "116.27.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user