Skip to content

Commit 6917d41

Browse files
Matt Dawsonlinuxdaemon
authored andcommitted
Add verysmart plugin and data (CloudBotIRC#224)
* Add verysmart plugin and data * Add final new line to pass CodeFactor test * Reformat to preload quote data via on_start * Move vsquotes and refactor to extend * Add docstrings to functions * Add hyphen to docstrings `bot` argument is injected, no arguments accepted by users. Added hyphen to both docstrings.
1 parent c828380 commit 6917d41

2 files changed

Lines changed: 119 additions & 0 deletions

File tree

data/verysmart.txt

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
"It's Your Birthday" Mateo Said. I Didn't Respond. "Are You Not Excited To Be 15" He Asked. Reading My Book I Uttered "I Turned 15 Long Ago"
2+
A tv isn't a tv. A phone isn't a phone. A screen isn't a screen. You all are staring at pixels. Feel dumb yet? Electricity to b exact
3+
All of the women on The Apprentice flirted with me. So What?
4+
Any negative polls are fake news, just like the CNN, ABC, NBC polls in the election.
5+
Basically clouds are a large collection of very tiny droplets of water or ice crystals. Whats your point?
6+
Believe you me, I'm going to build a great wall
7+
Can you imagine what the outcry would be if @SnoopDogg, failing career and all, had aimed and fired the gun at President Obama? Jail time!
8+
Can you match my intelligence? I doubt it.
9+
Debate me anytime. I'll be studying philosophy with a minor in economics (Honours program), so I've got a strong understanding of this stuff.
10+
Do some research. If you don't understand what I've said you're no where near my level.
11+
Doctor Who is amazing, Its far to complex for your small unimaginative brain to handle, Which is why you dislike it so much.
12+
Doctors are trash these days. I literally had to educate mine about the endocrine system alteration and it's effects on equilibrium.
13+
Don't bother swiping right if you have an IQ lower than 135 because you won't be able to keep up.
14+
FYI: The Olympics moves around the world almost as much as eclipses, and with the same frequency, yet nobody calls them rare.
15+
For some reason it's acceptable for people to point out that I have no sense of humor but unacceptable for me to point out that they're actually just way too dumb to understand my dry wit
16+
Haha you clearly dont know the English language or firearms. Assault is a verb not a noun. You assault someone using a weapon. There is no such thing as an assault rifle. LOL educate yourself before looking like an idiot.
17+
How Can Mirrors Be Real If Our Eyes Aren't Real
18+
How inept are these "adults" we speak of? At the age of 6 I was able to do my own laundry, clean dishes, and cook for myself(i particularly enjoyed Chicken Marsala). And I'm only 17
19+
How many presidents from United States an average US citizen know? I'm from Europe and i know 25 of them
20+
I Should Just Stop Tweeting, The Human Consciousness Must Raise Before I Speak My Juvenile Philosophy. / Shouts Out To @TIME
21+
I Watch Twilight Every Night
22+
I Will Always Give You The Truth I Will Never Lie To You In My music If You Cant Handle My Feelings And Emotions Please Unfollow Me
23+
I am also the youngest entrepreneur in my family and town, I have a degree and frequently participate in the stock market, I'm about to buy a house and I'm considering getting myself a Porche Cayman ;)
24+
I can fit more words in one sentence than a college professor can in an hour and a half.
25+
I can't tell you. Way too complicated for a simple brain like yours.
26+
I don't know why Stephen Hawking got so much praise. He wasn't even THAT smart.
27+
I don't like "dumbing" myself down just so I can talk to others.
28+
I guess I'm too intelligent to have ever worked in the food service industry, and yes I would like fries with that.
29+
I have so many fabulous friends who happen to be gay, but I am a traditionalist.
30+
I honestly think that most women aren't smart enough to hold a conversation with me.
31+
I just gave a 10 minute lecture to six strangers in a bar about how you can't divide by zero.
32+
I just sat at my desk, for 45 min, and calculated how many pages read for fun... my graphing calculator couldn't add that many numbers together.
33+
I know more about ISIS than the generals do. Believe me.
34+
I like China. I just sold an apartment for 15M to someone who was Chinese.
35+
I mean what do you want me to say? He is a loser!
36+
I read so much now, I've started citing books in every conversation.
37+
I think I've quoted Aristotle 2x already today. It's only 10 am.
38+
I was down there, and I watched our police and firemen, down at 7-Eleven
39+
I will be phenomenal to the women. I mean, I want to help women.
40+
I will build a great, great wall on our southern border, and I will have Mexico pay for that wall. Mark my words.
41+
I will literally block you for being dumb. I discriminate heavily against people with low IQs.
42+
I wouldn’t say I’m a feminist. I think that would be, maybe, going too far.
43+
I'm 12 I know more than most people with jobs.
44+
I'm a Psych/Bio double major who did pre-med. I'm now doing a PHd program. Trust me, the courses I took are quite a notch above nursing.
45+
I'm highly intelligent and I've never been to the opera, done yoga or have ever eaten at a fancy restaurant.
46+
I'm in the group Mensa, which is a high-I.Q. organization.
47+
I'm not in Highschool. While I've yet to attend a University (Liberal brain-wash camp), I've got a Master's level education.
48+
I'm sensing some serious flaws in the mind and personality.
49+
I'm sorry I dont know who Skrillex is. I was so busy listening to Bach, Chopin, Tchaikovsky, and other various classical artists that I forgot to go bumbling through Youtube to look for whatever that is.
50+
I've never gone to formal schools, and I am very knowledgeable in a great deal of matter
51+
Increasing the vernacluar of a swath of individuals is sometimes rather perplexing but best of luck to you
52+
It's hard being stuck in your own brain
53+
I’ve said if Ivanka weren’t my daughter, perhaps I’d be dating her.
54+
Just goes to show you that being a software engineer does not necessarily indicate a high IQ or a well thought out world view ;)
55+
Just took a few IQ tests including the practice Mensa and the Cambridge IQ test and my average of the 3 were 146.
56+
Let's just say I've read a lot.
57+
Momentum & energy transfer. Elastic & Inelastic Collisions. Spin-stabilized projectiles. Nothing like a good game of Football
58+
Most Trees Are Blue
59+
Most people come out of a day of midterms with a fried brain, but not me. My midterms were so easy that they left me unaffected.
60+
My Cabinet has the highest IQ of any Cabinet ever assembled
61+
My IQ is one of the highest — and you all know it! Please don’t feel so stupid or insecure; it’s not your fault.
62+
My IQ test came back with a score of 146, higher than 99.9% of the population.
63+
My Twitter has become so powerful that I can actually make my enemies tell the truth.
64+
My intelligence is the cause of and solution to all the problems I have on a daily basis, but whenever I talk about them, I always get chastised for bringing up the fact that I am smarter than average even though I am.
65+
My intelligence is the focal point of my life.
66+
Normal people arent quad lingual like me so I consider it a skill I need to flaunt, like a peacock.
67+
Not impressive at all - if she could read a book about philosophy in 95 seconds - I would be impressed - this is just idiotic
68+
Not to brag or anything but I'm really smart.
69+
Number one, I have great respect for women. I was the one that really broke the glass ceiling on behalf of women, more than anybody in the construction industry.
70+
Odd that we live in a time where telling people what is true in the face of what is false comes across as being a pompous ass
71+
People think I can't possibly be funny merely because I don't tell jokes. In reality - jokes I make would go over yours, or anybody's head.
72+
Ppl actually gotta Google that? Lol good thing they are planning on moving to Canada cause USA dont need no more dumba ppl lol
73+
Pretty sure I actually disproved the Patagorean Theorem once and my teacher wrote it off.
74+
School Is The Tool To Brainwash The Youth
75+
Should I disclose my IQ to my manager? I'm afraid I'll trigger some insecurity in him and he'll start looking for reasons to get rid of me.
76+
Smart people like me need to make it known or people assume I'm just like them.
77+
Some Mexicans, I assume, are good people.
78+
Sometimes I wonder if we'd have flying cars by now had civilization spent a little less brain energy contemplating Football.
79+
Thanks, but I don't celebrate New Years. People like me are cognizant of the passing time on a daily, if not continuous, basis. Hence, I have no need for such a holiday.
80+
That moment when ur meme is so intelligent half of the guys dont get it lol
81+
The beauty of me is that I’m very rich.
82+
The concept of global warming was created by the Chinese people.
83+
The only card Hillary has is the woman's card. Loser!
84+
The point is, you can never be too greedy.
85+
There Is No Nutrients In Our Food Anymore Or In Our Soil OR IN OUR WATER
86+
These girls don't trade crypto money and stock options for the kinda money like I do. They work in food service and barely make enough to cover their own rent.
87+
Total Solar Eclipses occur somewhere on Earth every two years, or so. So just calm yourself when people tell you they're rare
88+
Unawareness Is The Only Sin, And If You Were Aware You Would Know.
89+
We are going to build a beautiful fabulous wall.
90+
When I Die. Then You Will Realize
91+
When You Live Your Whole Life In A Prison Freedom Can Be So Dull.
92+
You Can Discover Everything You Need To Know About Everything By Looking At Your Hands
93+
You Must Not Know Fashion
94+
You Think You Get It. YOU DONT YOU DONT YOU DONT!!!!!!!
95+
You're is just a remnant from old English. I went to private school. I now what I'm talking about.
96+
You're not dumb. which is why I put up with you, but if you think you're smarter than me just stfu
97+
Your comments reflect an intellect inversely proportional to your smugness.
98+
just casually reading my green tea bottle and can mentally picture the atomic structures of 70% of the ingredients
99+
other people: YOLO me: carpe diem quam minimum credula postero. If none of you peasants know what that means, it's taken from a Latin ode and translates to "sieze the day, put very little trust in tomorrow".
100+
what I lack in appearance I make up for with intellect and a dry sense of humor that'll leave you thirsty

plugins/verysmart.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import codecs
2+
import os
3+
import random
4+
5+
from cloudbot import hook
6+
7+
vsquotes = []
8+
9+
@hook.on_start()
10+
def load_quotes(bot):
11+
"""- Import quotes from data directory."""
12+
vsquotes.clear()
13+
with codecs.open(os.path.join(bot.data_dir, "verysmart.txt"), encoding="utf-8") as fp:
14+
vsquotes.extend(quote.strip() for quote in fp.readlines())
15+
16+
@hook.command('smart', 'verysmart', 'vs', 'iamverysmart', 'iavs', autohelp=False)
17+
def verysmart():
18+
"""- Return a random choice from the quote list."""
19+
return random.choice(vsquotes)

0 commit comments

Comments
 (0)