mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Add aliases, add nsfw filter to chuck norris
This commit is contained in:
@@ -4,7 +4,7 @@ module.exports = class EmojiImageCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'emoji-image',
|
||||
aliases: ['big-emoji', 'emote-image', 'big-emote'],
|
||||
aliases: ['big-emoji', 'emote-image', 'big-emote', 'emoji-img', 'emote-img'],
|
||||
group: 'info',
|
||||
memberName: 'emoji-image',
|
||||
description: 'Responds with an emoji\'s full-scale image.',
|
||||
|
||||
@@ -39,7 +39,8 @@ module.exports = class ChuckNorrisCommand extends Command {
|
||||
.get('http://api.icndb.com/jokes/random')
|
||||
.query({
|
||||
escape: 'javascript',
|
||||
firstName: name
|
||||
firstName: name,
|
||||
exclude: msg.channel.nsfw ? '' : '[explicit]'
|
||||
});
|
||||
return msg.say(body.value.joke);
|
||||
} catch (err) {
|
||||
|
||||
@@ -48,7 +48,7 @@ module.exports = class AnimeCharacterCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'anime-character',
|
||||
aliases: ['anilist-character', 'character', 'manga-character', 'manga-char', 'ani-char', 'char'],
|
||||
aliases: ['anilist-character', 'character', 'manga-character', 'manga-char', 'ani-char', 'char', 'anime-char'],
|
||||
group: 'search',
|
||||
memberName: 'anime-character',
|
||||
description: 'Searches AniList for your query, getting character results.',
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "116.5.2",
|
||||
"version": "116.5.3",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user