mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 00:07:36 +02:00
Credit Command
This commit is contained in:
@@ -12,7 +12,13 @@ module.exports = class ApodCommand extends Command {
|
||||
group: 'events',
|
||||
memberName: 'apod',
|
||||
description: 'Responds with today\'s Astronomy Picture of the Day.',
|
||||
clientPermissions: ['EMBED_LINKS']
|
||||
clientPermissions: ['EMBED_LINKS'],
|
||||
credit: [
|
||||
{
|
||||
name: 'Astronomy Picture of the Day',
|
||||
url: 'https://apod.nasa.gov/apod/astropix.html'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,13 @@ module.exports = class CalendarCommand extends Command {
|
||||
aliases: ['holidays', 'events'],
|
||||
group: 'events',
|
||||
memberName: 'calendar',
|
||||
description: 'Responds with today\'s holidays.'
|
||||
description: 'Responds with today\'s holidays.',
|
||||
credit: [
|
||||
{
|
||||
name: 'Google Calendar API',
|
||||
url: 'https://developers.google.com/calendar/'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,13 @@ module.exports = class DoomsdayClockCommand extends Command {
|
||||
name: 'doomsday-clock',
|
||||
group: 'events',
|
||||
memberName: 'doomsday-clock',
|
||||
description: 'Responds with the current time of the Doomsday Clock.'
|
||||
description: 'Responds with the current time of the Doomsday Clock.',
|
||||
credit: [
|
||||
{
|
||||
name: 'Bulletin of the Atomic Scientists',
|
||||
url: 'https://thebulletin.org/'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -10,6 +10,12 @@ module.exports = class GoogleDoodleCommand extends Command {
|
||||
memberName: 'google-doodle',
|
||||
description: 'Responds with a Google Doodle, either the latest one or a random one from the past.',
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
credit: [
|
||||
{
|
||||
name: 'Google Doodles',
|
||||
url: 'https://www.google.com/doodles'
|
||||
}
|
||||
],
|
||||
args: [
|
||||
{
|
||||
key: 'month',
|
||||
|
||||
@@ -14,6 +14,12 @@ module.exports = class HoroscopeCommand extends Command {
|
||||
description: 'Responds with today\'s horoscope for a specific Zodiac sign.',
|
||||
details: `**Signs:** ${signs.join(', ')}`,
|
||||
clientPermissions: ['EMBED_LINKS'],
|
||||
credit: [
|
||||
{
|
||||
name: 'The Astrologer by Kelli Fox',
|
||||
url: 'https://new.theastrologer.com/'
|
||||
}
|
||||
],
|
||||
args: [
|
||||
{
|
||||
key: 'sign',
|
||||
|
||||
@@ -9,7 +9,13 @@ module.exports = class HumbleBundleCommand extends Command {
|
||||
aliases: ['humble'],
|
||||
group: 'events',
|
||||
memberName: 'humble-bundle',
|
||||
description: 'Responds with the current Humble Bundle.'
|
||||
description: 'Responds with the current Humble Bundle.',
|
||||
credit: [
|
||||
{
|
||||
name: 'Humble Bundle',
|
||||
url: 'https://www.humblebundle.com/'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -15,6 +15,12 @@ module.exports = class NekoAtsumePasswordCommand extends Command {
|
||||
group: 'events',
|
||||
memberName: 'neko-atsume-password',
|
||||
description: 'Responds with today\'s Neko Atsume password.',
|
||||
credit: [
|
||||
{
|
||||
name: 'Neko Atsume: Kitty Collector',
|
||||
url: 'http://nekoatsume.com/en/'
|
||||
}
|
||||
],
|
||||
args: [
|
||||
{
|
||||
key: 'locale',
|
||||
|
||||
@@ -12,6 +12,16 @@ module.exports = class TimeCommand extends Command {
|
||||
memberName: 'time',
|
||||
description: 'Responds with the current time in a particular location.',
|
||||
details: '**Zones:** <https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>',
|
||||
credit: [
|
||||
{
|
||||
name: 'List of tz database time zones',
|
||||
url: 'https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'
|
||||
},
|
||||
{
|
||||
name: 'Neopets',
|
||||
url: 'http://www.neopets.com/'
|
||||
}
|
||||
],
|
||||
args: [
|
||||
{
|
||||
key: 'timeZone',
|
||||
|
||||
@@ -11,6 +11,12 @@ module.exports = class TodayInHistoryCommand extends Command {
|
||||
memberName: 'today-in-history',
|
||||
description: 'Responds with an event that occurred today in history.',
|
||||
clientPermissions: ['EMBED_LINKS'],
|
||||
credit: [
|
||||
{
|
||||
name: 'muffinlabs - Today in History',
|
||||
url: 'http://history.muffinlabs.com/'
|
||||
}
|
||||
],
|
||||
args: [
|
||||
{
|
||||
key: 'month',
|
||||
|
||||
@@ -10,7 +10,13 @@ module.exports = class WordOfTheDayCommand extends Command {
|
||||
aliases: ['wordnik-word-of-the-day'],
|
||||
group: 'events',
|
||||
memberName: 'word-of-the-day',
|
||||
description: 'Responds with today\'s word of the day.'
|
||||
description: 'Responds with today\'s word of the day.',
|
||||
credit: [
|
||||
{
|
||||
name: 'Wordnik API',
|
||||
url: 'https://developer.wordnik.com/'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user