mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Space after conditionals
This commit is contained in:
@@ -5,9 +5,7 @@ module.exports = class YearsCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: '3000years',
|
||||
aliases: [
|
||||
'az'
|
||||
],
|
||||
aliases: ['az'],
|
||||
group: 'avataredit',
|
||||
memberName: '3000years',
|
||||
description: 'It\'s been 3000 years...',
|
||||
|
||||
@@ -5,9 +5,7 @@ module.exports = class BeautifulCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'beautiful',
|
||||
aliases: [
|
||||
'grunkle-stan'
|
||||
],
|
||||
aliases: ['grunkle-stan'],
|
||||
group: 'avataredit',
|
||||
memberName: 'beautiful',
|
||||
description: 'Oh, this? This is beautiful.',
|
||||
|
||||
@@ -5,9 +5,7 @@ module.exports = class BobRossCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'bob-ross',
|
||||
aliases: [
|
||||
'ross'
|
||||
],
|
||||
aliases: ['ross'],
|
||||
group: 'avataredit',
|
||||
memberName: 'bob-ross',
|
||||
description: 'Make Bob Ross draw an avatar.',
|
||||
|
||||
@@ -5,9 +5,7 @@ module.exports = class GreyscaleCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'greyscale',
|
||||
aliases: [
|
||||
'grayscale'
|
||||
],
|
||||
aliases: ['grayscale'],
|
||||
group: 'avataredit',
|
||||
memberName: 'greyscale',
|
||||
description: 'Greyscale a user\'s avatar colors.',
|
||||
|
||||
@@ -5,10 +5,7 @@ module.exports = class RIPCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'rip',
|
||||
aliases: [
|
||||
'grave',
|
||||
'grave-stone'
|
||||
],
|
||||
aliases: ['grave', 'grave-stone'],
|
||||
group: 'avataredit',
|
||||
memberName: 'rip',
|
||||
description: 'Puts a user\'s avatar over a gravestone.',
|
||||
|
||||
@@ -5,9 +5,7 @@ module.exports = class SteamCardCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'steam-card',
|
||||
aliases: [
|
||||
'card'
|
||||
],
|
||||
aliases: ['card'],
|
||||
group: 'avataredit',
|
||||
memberName: 'steam-card',
|
||||
description: 'Put an avatar on a Steam Card.',
|
||||
|
||||
@@ -7,9 +7,7 @@ module.exports = class QuizCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'quiz',
|
||||
aliases: [
|
||||
'jeopardy'
|
||||
],
|
||||
aliases: ['jeopardy'],
|
||||
group: 'games',
|
||||
memberName: 'quiz',
|
||||
description: 'Answer a quiz question.'
|
||||
|
||||
@@ -5,9 +5,7 @@ module.exports = class RockPaperScissorsCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'rock-paper-scissors',
|
||||
aliases: [
|
||||
'rps'
|
||||
],
|
||||
aliases: ['rps'],
|
||||
group: 'games',
|
||||
memberName: 'rock-paper-scissors',
|
||||
description: 'Play Rock-Paper-Scissors.',
|
||||
|
||||
@@ -8,11 +8,7 @@ module.exports = class GuildInfoCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'server',
|
||||
aliases: [
|
||||
'guild',
|
||||
'server-info',
|
||||
'guild-info'
|
||||
],
|
||||
aliases: ['guild', 'server-info', 'guild-info'],
|
||||
group: 'guildinfo',
|
||||
memberName: 'server',
|
||||
description: 'Gives some info on the current server.',
|
||||
|
||||
@@ -6,9 +6,7 @@ module.exports = class BanCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'ban',
|
||||
aliases: [
|
||||
'banne'
|
||||
],
|
||||
aliases: ['banne'],
|
||||
group: 'moderation',
|
||||
memberName: 'ban',
|
||||
description: 'Bans a user and logs the ban to the mod logs.',
|
||||
|
||||
@@ -6,6 +6,7 @@ module.exports = class SoftbanCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'softban',
|
||||
aliases: ['softbanne'],
|
||||
group: 'moderation',
|
||||
memberName: 'softban',
|
||||
description: 'Kicks a user and deletes their messages, and logs the softban to the mod logs.',
|
||||
|
||||
@@ -6,9 +6,7 @@ module.exports = class UnbanCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'unban',
|
||||
aliases: [
|
||||
'unbanne'
|
||||
],
|
||||
aliases: ['unbanne'],
|
||||
group: 'moderation',
|
||||
memberName: 'unban',
|
||||
description: 'Unbans a user and logs the unban to the mod logs.',
|
||||
|
||||
@@ -5,9 +5,7 @@ module.exports = class EasterEggCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'easter-egg',
|
||||
aliases: [
|
||||
'tag'
|
||||
],
|
||||
aliases: ['tag'],
|
||||
group: 'random',
|
||||
memberName: 'easter-egg',
|
||||
description: 'Can you discover all the easter eggs?',
|
||||
|
||||
@@ -6,9 +6,7 @@ module.exports = class WouldYouRatherCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'would-you-rather',
|
||||
aliases: [
|
||||
'wyrather'
|
||||
],
|
||||
aliases: ['wyrather'],
|
||||
group: 'random',
|
||||
memberName: 'would-you-rather',
|
||||
description: 'Gets a random would you rather question.'
|
||||
|
||||
@@ -5,9 +5,7 @@ module.exports = class CatCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'cat',
|
||||
aliases: [
|
||||
'neko'
|
||||
],
|
||||
aliases: ['neko'],
|
||||
group: 'randomimg',
|
||||
memberName: 'cat',
|
||||
description: 'Sends a random cat image.'
|
||||
|
||||
@@ -5,9 +5,7 @@ module.exports = class XiaoCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'xiao-pai',
|
||||
aliases: [
|
||||
'xiao'
|
||||
],
|
||||
aliases: ['xiao'],
|
||||
group: 'randomimg',
|
||||
memberName: 'xiao-pai',
|
||||
description: 'Sends a random image of Xiao Pai.'
|
||||
|
||||
@@ -5,10 +5,7 @@ module.exports = class CoinFlipCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'coin',
|
||||
aliases: [
|
||||
'coin-flip',
|
||||
'flip'
|
||||
],
|
||||
aliases: ['coin-flip', 'flip'],
|
||||
group: 'response',
|
||||
memberName: 'coin',
|
||||
description: 'Flips a coin.'
|
||||
|
||||
@@ -5,9 +5,7 @@ module.exports = class QuantumCoinCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'quantum-coin',
|
||||
aliases: [
|
||||
'qcoin'
|
||||
],
|
||||
aliases: ['qcoin'],
|
||||
group: 'response',
|
||||
memberName: 'quantum-coin',
|
||||
description: 'Flips a coin that lands on nothing.'
|
||||
|
||||
@@ -4,9 +4,7 @@ module.exports = class RateWaifuCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'rate-waifu',
|
||||
aliases: [
|
||||
'waifu'
|
||||
],
|
||||
aliases: ['waifu'],
|
||||
group: 'response',
|
||||
memberName: 'rate-waifu',
|
||||
description: 'Rates your Waifu.',
|
||||
|
||||
@@ -4,9 +4,7 @@ module.exports = class RollCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'roll',
|
||||
aliases: [
|
||||
'dice'
|
||||
],
|
||||
aliases: ['dice'],
|
||||
group: 'response',
|
||||
memberName: 'roll',
|
||||
description: 'Rolls a dice with a maximum value you specify.',
|
||||
|
||||
@@ -4,9 +4,7 @@ module.exports = class ShipCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'ship',
|
||||
aliases: [
|
||||
'rate'
|
||||
],
|
||||
aliases: ['rate'],
|
||||
group: 'response',
|
||||
memberName: 'ship',
|
||||
description: 'Ships things/people together.',
|
||||
|
||||
@@ -5,10 +5,7 @@ module.exports = class DiscrimCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'discrim',
|
||||
aliases: [
|
||||
'discriminator',
|
||||
'search-discrim'
|
||||
],
|
||||
aliases: ['discriminator', 'search-discrim'],
|
||||
group: 'search',
|
||||
memberName: 'discrim',
|
||||
description: 'Searches for other users with a certain discriminator.',
|
||||
|
||||
@@ -4,10 +4,7 @@ module.exports = class SayCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'say',
|
||||
aliases: [
|
||||
'copy',
|
||||
'echo'
|
||||
],
|
||||
aliases: ['copy', 'echo'],
|
||||
group: 'textedit',
|
||||
memberName: 'say',
|
||||
description: 'Make XiaoBot say what you wish.',
|
||||
|
||||
@@ -6,9 +6,7 @@ module.exports = class UpsideDownCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'upside-down',
|
||||
aliases: [
|
||||
'udown'
|
||||
],
|
||||
aliases: ['udown'],
|
||||
group: 'textedit',
|
||||
memberName: 'upside-down',
|
||||
description: 'Flips text upside-down.',
|
||||
|
||||
@@ -5,10 +5,7 @@ module.exports = class WebhookCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'webhook',
|
||||
aliases: [
|
||||
'rin',
|
||||
'rin-say'
|
||||
],
|
||||
aliases: ['rin', 'rin-say'],
|
||||
group: 'textedit',
|
||||
memberName: 'webhook',
|
||||
description: 'Posts a message to the webhook defined in your `process.env`.',
|
||||
|
||||
@@ -8,11 +8,7 @@ module.exports = class UserInfoCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'user',
|
||||
aliases: [
|
||||
'user-info',
|
||||
'member',
|
||||
'member-info'
|
||||
],
|
||||
aliases: ['user-info', 'member', 'member-info'],
|
||||
group: 'userinfo',
|
||||
memberName: 'user',
|
||||
description: 'Gives some info on a user.',
|
||||
|
||||
@@ -6,9 +6,7 @@ module.exports = class HelpCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'help',
|
||||
aliases: [
|
||||
'commands'
|
||||
],
|
||||
aliases: ['commands'],
|
||||
group: 'util',
|
||||
memberName: 'help',
|
||||
description: 'Displays a list of available commands, or detailed information for a specified command.',
|
||||
|
||||
@@ -9,9 +9,7 @@ module.exports = class InfoCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'info',
|
||||
aliases: [
|
||||
'information'
|
||||
],
|
||||
aliases: ['information'],
|
||||
group: 'util',
|
||||
memberName: 'info',
|
||||
description: 'Gives some bot info for your shard.'
|
||||
|
||||
@@ -4,9 +4,7 @@ module.exports = class MemberMsgCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'member-message',
|
||||
aliases: [
|
||||
'member-msg'
|
||||
],
|
||||
aliases: ['member-msg'],
|
||||
group: 'util',
|
||||
memberName: 'member-message',
|
||||
description: 'Sets the message for either join/leave logs to use.',
|
||||
|
||||
@@ -7,9 +7,7 @@ module.exports = class ShardInfoCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'shard-info',
|
||||
aliases: [
|
||||
'shard'
|
||||
],
|
||||
aliases: ['shard'],
|
||||
group: 'util',
|
||||
memberName: 'shard-info',
|
||||
description: 'Gives some bot info for the Shard you specify.',
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "18.6.2",
|
||||
"version": "18.6.3",
|
||||
"description": "A Discord Bot",
|
||||
"main": "shardingmanager.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user