mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Affirmation Command
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
[
|
||||
"You got this",
|
||||
"You'll figure it out",
|
||||
"You're a smart cookie",
|
||||
"I believe in you",
|
||||
"Sucking at something is the first step towards being good at something",
|
||||
"Struggling is part of learning",
|
||||
"Everything has cracks - that's how the light gets in",
|
||||
"Mistakes don't make you less capable",
|
||||
"We are all works in progress",
|
||||
"You are a capable human",
|
||||
"You know more than you think",
|
||||
"10x engineers are a myth",
|
||||
"If everything was easy you'd be bored",
|
||||
"I admire you for taking this on",
|
||||
"You're resourceful and clever",
|
||||
"You'll find a way",
|
||||
"I know you'll sort it out",
|
||||
"Struggling means you're learning",
|
||||
"You're doing a great job",
|
||||
"It'll feel magical when it's working",
|
||||
"I'm rooting for you",
|
||||
"Your mind is full of brilliant ideas",
|
||||
"You make a difference in the world by simply existing in it",
|
||||
"You are learning valuable lessons from yourself every day",
|
||||
"You are worthy and deserving of respect",
|
||||
"You know more than you knew yesterday",
|
||||
"You're an inspiration",
|
||||
"Your life is already a miracle of chance waiting for you to shape its destiny",
|
||||
"Your life is about to be incredible",
|
||||
"Nothing is impossible. The word itself says 'I’m possible!'",
|
||||
"Failure is just another way to learn how to do something right",
|
||||
"I give myself permission to do what is right for me",
|
||||
"You can do it",
|
||||
"It is not a sprint, it is a marathon. One step at a time",
|
||||
"Success is the progressive realization of a worthy goal",
|
||||
"People with goals succeed because they know where they’re going",
|
||||
"All you need is the plan, the roadmap, and the courage to press on to your destination",
|
||||
"The opposite of courage in our society is not cowardice... it is conformity",
|
||||
"Whenever we’re afraid, it’s because we don’t know enough. If we understood enough, we would never be afraid",
|
||||
"The past does not equal the future",
|
||||
"The path to success is to take massive, determined action",
|
||||
"It’s what you practice in private that you will be rewarded for in public",
|
||||
"Small progress is still progress",
|
||||
"Don't worry if you find flaws in your past creations, it's because you've evolved",
|
||||
"Starting is the most difficult step - but you can do it",
|
||||
"Don't forget to enjoy the journey",
|
||||
"It's not a mistake, it's a learning opportunity"
|
||||
]
|
||||
@@ -0,0 +1,25 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const affirmations = require('../../assets/json/affirmation');
|
||||
|
||||
module.exports = class AffirmationCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'affirmation',
|
||||
group: 'random-res',
|
||||
memberName: 'affirmation',
|
||||
description: 'Responds with a random affirmation.',
|
||||
credit: [
|
||||
{
|
||||
name: 'Tilde Ann Thurium',
|
||||
url: 'https://github.com/annthurium',
|
||||
reason: 'Affirmations Data',
|
||||
reasonURL: 'https://github.com/annthurium/affirmations/blob/master/affirmations.js'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
return msg.say(affirmations[Math.floor(Math.random() * affirmations.length)]);
|
||||
}
|
||||
};
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "136.0.0",
|
||||
"version": "136.1.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"private": true,
|
||||
|
||||
Reference in New Issue
Block a user