This commit is contained in:
Adam 2022-09-29 00:24:13 -04:00
commit 8b675335c6
5 changed files with 1328 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
twit_sekrit
discord_token

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 Adam
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# lulzbot
does lulz

568
chucknorris Normal file
View file

@ -0,0 +1,568 @@
King Kong climbed the Empire State building in fear of Chuck Norris who was downstairs at the time.
%
"2012" is code for, Chuck Norris when he is pissed.
%
"The Big Chuck Norris Roundhouse-Kick Theory"
%
"The wind cries Chuck Norris"
%
"Walker Texas Ranger: The Movie 3-D" was considered by Warner Brothers; however the technology to create the visual effects will never be possible.
%
A Handicapped parking sign does not signify that this spot is for handicapped people. It is actually in fact a warning, that the spot belongs to Chuck Norris and that you will be handicapped if you park there.
%
Abraham Lincoln didn't die because he was shot, Chuck Norris roundhouse-kicked so fast his foot went back in time and killed Abraham Lincoln.
%
Achievement Unlocked: Chuck Norris of Death
%
After Chuck counted to infinity the first time, he vowed to count to infinity a second time....by counting the bodies of those previously roundhoused.
%
Aliens fear that Chuck Norris might abduct them.
%
An angry glare from Chuck Norris is known to kill on the spot.
%
Behind every successful man is Chuck Norris.
%
Beware of dogs... Dogs, beware of Chuck Norris.
%
Bruce Lee didn't defeat Chuck Norris. Chuck hit Bruce with a Delayed roundhouse kick that was so fast that Lee only felt the impact a year later!
%
CNN was originally created as the "Chuck Norris Network" to update Americans with on-the-spot ass kicking in real-time.
%
Casinos pay Chuck Norris not to play at anything or wish anyone good luck.
%
Chuck Norris - the new standard.
%
Chuck Norris CAN balance the light-switch between ON and OFF.
%
Chuck Norris CAN believe it's not butter.
%
Chuck Norris CAN spell with an I before E even after C.
%
Chuck Norris can play the theme from the Twilight Zone with his beard.
%
Chuck Norris can power solar panels. At night.
%
Chuck Norris watches "the Nat.Geo. Specials" on Discovery Channel.
%
Chuck Norris bowled a 301 after constructing another pin out of his beard hair.
%
Chuck Norris burnt a fire proof vest, UNDERWATER!
%
Chuck Norris can French kiss his elbow.
%
Chuck Norris can bake in a freezer.
%
Chuck Norris can defuse a bomb by cutting the wrong wire.
%
Chuck Norris can dig a hole in air.
%
Chuck Norris can divide by zero.
%
Chuck Norris can do a regime change with a roundhouse kick.
%
Chuck Norris can fit 10 gallons of water in a 5 gallon bucket.
%
Chuck Norris can grill a popsicle.
%
Chuck Norris can lead a horse to water AND make it drink.
%
Chuck Norris can make his own megazord "The Chuck Norris Roundhouse Kickers Ultimate Super Awesome Megazord".
%
Chuck Norris can milk an alligator.
%
Chuck Norris can play the death waltz with his chin.
%
Chuck Norris can roundhouse kick someone through a window without breaking the glass.
%
Chuck Norris can roundhouse-kick round houses into squares.
%
Chuck Norris can rub two fires together and make a stick!
%
Chuck Norris can see in 3D with just one eye.
%
Chuck Norris can slam a revolving door.
%
Chuck Norris can terminate a repeating decimal.
%
Chuck Norris can turn toast back into bread.
%
Chuck Norris can win a game of Connect Four in only three moves.
%
Chuck Norris can win in a top spinning tournament with a cube.
%
Chuck Norris can't perform Hadoukens, he IS a Hadouken.
%
Chuck Norris checks under his bed for Fedor Emelianenko because he takes Fedor to the vet regularly.
%
Chuck Norris counted to infinity - twice.
%
Chuck Norris created Heavy Metal when he was upset.
%
Chuck Norris does not get frostbite. Chuck Norris bites frost.
%
Chuck Norris does not have a cell phone because he hears everything.
%
Chuck Norris does not sleep. He waits.
%
Chuck Norris doesn't bowl strikes, he just knocks down one pin and the other nine faint.
%
Chuck Norris doesn't call the wrong number, you just answer the wrong phone.
%
Chuck Norris doesn't cheat death, he beats it fair and square.
%
Chuck Norris doesn't churn butter. He roundhouse kicks the cows and the butter comes straight out.
%
Chuck Norris doesn't eat, he just sucks the energy out of food by staring at it.
%
Chuck Norris doesn't exhale. The air runs desperately scared out of his lungs.
%
Chuck Norris doesn't go hunting.... CHUCK NORRIS GOES KILLING.
%
Chuck Norris doesn't let it go.
%
Chuck Norris doesn't like Mudkipz.
%
Chuck Norris doesn't look for fun. The fun looks for Chuck Norris.
%
Chuck Norris doesn't need a bulletproof vest. He catches them with his bare hands.
%
Chuck Norris doesn't need air, he is air.
%
Chuck Norris doesn't need sunglasses, the sun needs Chuck Norris glasses.
%
Chuck Norris doesn't need to brush his teeth, his spit acts as a bleach.
%
Chuck Norris doesn't read books. He stares them down until he gets the information he wants.
%
Chuck Norris doesn't throw up if he drinks too much. Chuck Norris throws down!
%
Chuck Norris doesn't eat salad, he eats vegetarians.
%
Chuck Norris doesn't wash his clothes, he disembowels them.
%
Chuck Norris doesn't wear a watch. HE decides what time it is.
%
Chuck Norris doesn't carry a list. He always knows what to do.
%
Chuck Norris drives an ice cream truck covered in human skulls.
%
Chuck Norris drowned a man ON LAND.
%
Chuck Norris fed the Hunger Games.
%
Chuck Norris found the hay in the needle stack.
%
Chuck Norris found the last digit of pi.
%
Chuck Norris had a knife thrown at him. The knife didn't impale him; he impaled the knife.
%
Chuck Norris has a battle cruiser AND a car.
%
Chuck Norris has killed the Dead Sea.
%
Chuck Norris has made a 148 break at snooker.
%
Chuck Norris invented Kentucky Fried Chicken's famous secret recipe, with eleven herbs and spices. But nobody ever mentions the twelfth ingredient: Fear.
%
Chuck Norris is allowed two carry-ons.
%
Chuck Norris is currently suing NBC, claiming Law and Order are trademarked names for his left and right legs.
%
Chuck Norris is currently suing any broadway theater that plays "The Nutcracker". He claims its an infringement on his "other" roundhouse kick.
%
Chuck Norris is entitled to his own facts.
%
Chuck Norris is my Homeboy.
%
Chuck Norris is so fast, he can run around the world and punch himself in the back of the head.
%
Chuck Norris is so hard, he uses diamonds as stress balls.
%
Chuck Norris is so scary, he makes sharks swim backwards away from him.
%
Chuck Norris is ten feet tall, weighs two-tons, breathes fire, and could eat a hammer and take a shotgun blast standing.
%
Chuck Norris is the ghost in paranormal activity.
%
Chuck Norris is the life of parties he doesn't attend.
%
Chuck Norris is the meaning of life. Too bad he's also the meaning of death.
%
Chuck Norris is the only man to ever defeat a brick wall in a game of tennis.
%
Chuck Norris is the only one who can tear a facebook page!
%
Chuck Norris is the reason that the world will end in 2012. He was getting bored with the Earth.
%
Chuck Norris is the reason tumbleweeds tumble.
%
Chuck Norris is the reason why Waldo is hiding.
%
Chuck Norris is waiting for Mt. St. Helens to erupt again. He's hoping the lava is hot enough to soften his beard so he can shave for the first time.
%
Chuck Norris isn't allowed at the zoo, because when he's there the animals are too terrified to come out of their cages.
%
Chuck Norris made a statue bleed.
%
Chuck Norris made the big bang just by clicking his fingers.
%
Chuck Norris never trains, because he's Chuck Norris.
%
Chuck Norris once cried just to see what it was like. The end result was the creation of life.
%
Chuck Norris once cut a knife with a stick of butter.
%
Chuck Norris once got a 200 yard punt return.
%
Chuck Norris once had a pet monkey named KING KONG.
%
Chuck Norris once had a street named after him. The name removed at once, because nobody crosses Chuck Norris, and lives.
%
Chuck Norris once had a weak moment, just to know what it felt like.
%
Chuck Norris once played Duck Duck Goose with a group of Kindergarteners. Only one kid made it to first grade.
%
Chuck Norris once proved p^~p by induction on his beard hairs.
%
Chuck Norris once punched the ground to stop an earthquake. The resulting aftershock caused the BP oil spill.
%
Chuck Norris once round-house kicked a salesman. Over the phone.
%
Chuck Norris once roundhouse kicked a football. The astronomical society now considers it a planet.
%
Chuck Norris once thought he was wrong. He was, however, mistaken.
%
Chuck Norris once walked down a street with his fists in his pockets. He was then arrested for concealing two deadly weapons.
%
Chuck Norris once won the Tour de France riding a "big wheel".
%
Chuck Norris originally appeared in the "Street Fighter II" video game, but was removed by Beta Testers because every button caused him to do a roundhouse kick. When asked bout this "glitch," Norris replied, "That's no glitch."
%
Chuck Norris owns all number 1 pencils.
%
Chuck Norris pees Adamantium.
%
Chuck Norris plays Texas Hold'Em with Zeus, every second Wednesday of the month.
%
Chuck Norris played "Got your Nose" with Voldemort and won.
%
Chuck Norris played the game of thrones and won.
%
Chuck Norris protects his bodyguards.
%
Chuck Norris rolled a 20 on a 6 sided die.
%
Chuck Norris roundhouse kicks people in the face first and asks questions later.
%
Chuck Norris sent a BBM to an iPhone.
%
Chuck Norris shops at Sam's Club, but leaves without having his receipt checked.
%
Chuck Norris splattered tiger blood and Adonis' DNA on Charlie Sheen with 1 roundhouse kick!
%
Chuck Norris started Chuck Norris.
%
Chuck Norris starts his day with 6 live chickens, two cows, three pigs, and a boiling hot cup of pure fury.
%
Chuck Norris told me to put this here.
%
Chuck Norris uses a real mouse to move the cursor, type on the keyboard, write e-mails, code entire websites, and make coffee.
%
Chuck Norris uses pepper spray to spice up his steaks.
%
Chuck Norris was heard in a soundproof room!
%
Chuck Norris was once turned down for American Idol. When Simon was questioned about it, he replied "I'm retiring after this season". I wonder why?
%
Chuck Norris was originally in Mortal Kombat, but that version was deleted because no one can beat Chuck Norris in a fight.
%
Chuck Norris was the image used for Papa Smurf.
%
Chuck Norris was the reason why the Great Wall of China was constructed. It failed miserably.
%
Chuck Norris was what Willis was talking about.
%
Chuck Norris wasn't born on his birthday.
%
Chuck Norris watched the first steps on the moon... from his summer home on Mars.
%
Chuck Norris went up the creek without a paddle... or a canoe.
%
Chuck Norris will attain statehood in 2009. His state flower will be the Magnolia.
%
Chuck Norris wins NASCAR races with all right turns.
%
Chuck Norris won a stepdance contest by standing on his hands.
%
Chuck Norris yells at drill Sergeants.
%
Chuck Norris' dog picks up after him.
%
Chuck Norris' films are factual documentaries.
%
Chuck Norris' first job was as a paperboy. There were no survivors.
%
Chuck Norris' glass is never half full or half empty. It stays full even after he takes a drink.
%
Chuck Norris' hand is the only hand that can beat a Royal Flush.
%
Chuck Norris' personal airplane is called Air Force Chuck.
%
Chuck Norris. Enough said.
%
Chuck Norris: even Naruto can't believe it.
%
Chuck Norris can make sour milk turn fresh.
%
Contrary to popular belief, Rome WAS built in a day, by Chuck Norris.
%
Contrary to popular belief, America is not a democracy, it is a Chucktatorship.
%
Contrary to popular belief, Chuck Norris, not the box jellyfish of northern Australia, is the most venomous creature on Earth.
%
Cops don't need badges in their wallets, but only a picture of Chuck Norris.
%
Crop circles are Chuck Norris' way of telling the world that sometimes corn needs to lie down.
%
Did you hear about the boy who cried Chuck Norris?
%
Dog the Bounty Hunter can't track Chuck Norris down.
%
Don't get Chuck Norris angry. Last time somebody did that, Chuck Norris made the Grand Canyon.
%
Earth's rotation is purely governed by the direction that Chuck Norris is walking.
%
Ever wonder what really happened to the dinosaurs? They all dug their own graves when they heard Chuck Norris was coming.
%
Every line in a Chuck Norris haiku is "A roundhouse kick to the face." And they all have the correct number of syllables.
%
Every phobia known to man has a phobia of Chuck Norris.
%
Every time there's an earthquake, you know Chuck Norris is hungry. The earthquake is caused by his stomach growling.
%
Evolution's driving mechanism is nature's desperate attempt to escape Chuck Norris.
%
Fear of spiders is arachnophobia. Fear of tight spaces is claustrophobia. Fear of Chuck Norris is called Logic.
%
Fool me once, shame on you. Fool Chuck Norris once and he will roundhouse you in the face.
%
Ghosts can see Chuck Norris.
%
Guns don't kill people. Chuck Norris kills people.
%
How much wood could a woodchuck chuck if a woodchuck could chuck wood? No woodchuck could chuck Chuck's wood!
%
If Chuck Norris were a calendar, every month would be named Chucktober, and every day he'd kick your ass.
%
If Chuck Norris were to get into a fight with another Chuck Norris, Chuck Norris would win.
%
If God doesn't know, Chuck does.
%
If Goliath listened to Chuck Norris, he would have won.
%
If at first you don't succeed, you're not Chuck Norris.
%
If you ask Chuck Norris what time it is, he always says, "Two seconds 'til." After you ask, "Two seconds 'til what?" he roundhouse kicks you in the face.
%
If you put in the correct cheat code in Halo 2, you can have Master Chief play without his helmet, revealing himself to be Chuck Norris.
%
If you see a man in the street who looks like Chuck Norris, but isn't, run: you don't want to be caught in the resulting roundhouse kick to his face.
%
If you spell Chuck Norris in Scrabble, you win. Forever.
%
In 1945 The US army asked if they could clone Chuck Norris. Instead he said he could sort out the Japanese.
%
In Texas, there are five sizes for fountain drinks: small, medium, large, Texas sized, and Chuck Norris sized. It is a cup made of a human skull.
%
In a rain storm Chuck Norris stays dry. Rain drops are scared to hit him.
%
In the back of the book of world records, it says "All records are held by Chuck Norris. The ones listed are in second place."
%
James Bond has a license to kill. He got it from Chuck Norris.
%
Jedis are now taught to use the "Chuck".
%
MacGyver immediately tried to make a bomb out of some Q-Tips and Gatorade, but Chuck Norris roundhouse-kicked him in the solar plexus. MacGyver promptly threw up his own heart.
%
Machiavelli said it is better to be feared than loved because he was inspired by Chuck Norris.
%
May the Force be with Chuck Norris... for its own good.
%
Merlin was Chuck Norris' assistant.
%
Most people have 23 pairs of chromosomes. Chuck Norris has 72... and they're all poisonous.
%
Note to self: Don't be the cashier to tell Chuck Norris his coupons have expired.
%
Chuck Norris' keyboard has no control key. Chuck Norris is always in control.
%
Once upon a time, Chuck Norris found himself in a town called Shit Creek. He opened a Paddle Store.
%
One glance from Chuck Norris and snow turns itself yellow.
%
One time a test cheated on Chuck Norris.
%
Only Chuck Norris can win the mind game, 'cause he never minds.
%
Only Chuck Norris is stronger than an Altoid.
%
Outer space exists because it's afraid to be on the same planet with Chuck Norris.
%
Ozzy Osbourne once accidentally bit the head off a live bat - Chuck Norris once deliberately bit the head off a live pterodactyl.
%
Pluto is actually an orbiting group of British soldiers from the American Revolution who entered space after the Chuck gave them a roundhouse kick to the face.
%
Police label anyone attacking Chuck Norris as a Code 45-11.... a suicide.
%
Remember the Soviet Union? They decided to quit after watching a DeltaForce marathon on Satellite TV.
%
Simon doesn't say... Chuck Norris says.
%
Some boots were made for walking. Some boots may walk all over you, but Chuck Norris' boots walk THROUGH you.
%
Some kids pee their name in snow. Chuck Norris pees his name in concrete.
%
Some people ask for a Kleenex when they sneeze, Chuck Norris asks for a body bag.
%
Someone once videotaped Chuck Norris getting pissed off. It was called Walker: Texas Chain Saw Massacre.
%
Staring at Chuck Norris for extended periods of time without proper eye protection will cause blindness, and possibly foot sized bruises on the face.
%
Taking Karate Lessons = $100, Buying MMA DVD's = $150, Subscribing to a UFC event = $50, Getting a Roundhouse Kick from Chuck Norris = PRICELESS.
%
That's not an eclipse. That's the sun hiding from Chuck Norris.
%
The Beatles are on iTunes because Chuck Norris bought a Mac.
%
The Earth is made up of two-thirds water and one-third Chuck Norris.
%
The Earth was almost destroyed by a 50 km wide asteroid in 1984, but Chuck Norris roundhouse kicked it into the Sun.
%
The Great Wall of China was originally created to keep Chuck Norris out. It failed miserably.
%
The Joneses are trying to keep up with Chuck Norris.
%
The Matrix Trilogy would have ended on the first movie had Keanu Reeves said, “I know Chuck Norris.”
%
The answer to life, the universe and everything isn't 42. It's Chuck Norris.
%
The apple falls far from the tree, when Chuck's roundhouse kick is taken to the trunk.
%
The best part of waking up is not Folgers in your cup. it's knowing that Chuck Norris let you live.
%
The chief export of Chuck Norris is pain.
%
The dictionary references Chuck Norris several times, he is mentioned under Fear, Law, Order and Chucktatorship.
%
The leading causes of death in the United States are: 1. Heart Disease 2. Chuck Norris 3. Cancer.
%
The letters in Chuck Norris cannot be unscrambled.
%
The only place where the Starship Enterprise refuses to boldly go is Chuck Norris' planet... which is all of them.
%
The only reason that USA lost the 2011 world cup to Japan is because Chuck Norris wasn't there.
%
The only sure things are Death and Taxes, and when Chuck Norris goes to work for the IRS, they'll be the same thing.
%
The only way sharks will come near CN underwater is when CN is inside of a cage.
%
The only word that rhymes with orange is Chuck Norris.
%
The producers of the movie "The Last Airbender" are now in talks with Chuck Norris in Order to star him in their next sequel "The Last Skull Bender".
%
The quickest way to a man's heart is with Chuck Norris' fist.
%
The reason why Batman only comes out at night is because he's afraid he might encounter Chuck Norris in the morning and afternoon.
%
The red phone in the oval office rings directly to Chuck Norris' cell phone.
%
The show Survivor had the original premise of putting people on an island with Chuck Norris. There were no survivors, and nobody is brave enough to go to the island to retrieve the footage.
%
The square root of Chuck Norris is pain. Do not try to square Chuck Norris. The result is death.
%
The sun only rises every morning because Chuck Norris allows it to.
%
The truth hurts, doesn't it? Chuck Norris' truth kills.
%
There is no chin behind Chuck Norris' beard. There is only another fist.
%
There is no limbo, only a world that doesn't know of Chuck Norris.
%
There is no such thing as global warming. Chuck Norris was cold, so he turned the sun up.
%
There is no theory of evolution, just a list of creatures Chuck Norris has allowed to live.
%
This one time at band camp... BAM! Chuck Norris.
%
Those who ignore history, are doomed by Chuck Norris.
%
Trick me once, shame on you, trick Chuck Norris.. rest in peace.
%
Unlike Jack Bauer, Chuck Norris doesn't need bullets. A quick roundhouse to the face kills twice as fast.
%
Walker: Texas Ranger went into syndication before the first episode was shot.
%
What was going through the minds of all of Chuck Norris' victims before they died? His shoe.
%
Whatever Chuck Norris wants, it will instantly appear.
%
When Betty White gets angry, she turns into the Hulk. When Valerie Bertinelli gets mad, she turns into Chuck Norris.
%
When Chuck Norris creates a login, it tells him "password not strong enough." He types in his name and it tells him "password too strong."
%
When Chuck Norris does a pushup, he isn't lifting himself up, he's pushing the Earth down.
%
When Chuck Norris drinks water, the water automatically pasteurized.
%
When Chuck Norris goes to Vegas, he doesn't have to gamble. The casinos just give him stacks of money.
%
When Chuck Norris goes to rodeos, bulls ride him.
%
When Chuck Norris goes to the library, he looks for the Guinness book of records in the comedy section.
%
When Chuck Norris inhales helium, his voice doesn't change.
%
When Chuck Norris performs a roundhouse kick, he's actually measuring the circumference of the universe.
%
When Chuck Norris played the card game War with a friend, France surrendered.
%
When Chuck Norris pokes the Pillsbury Doughboy, it's not a laughing matter.
%
When Chuck Norris roundhouse-kicks you, he decides when you will feel the impact.
%
When Chuck Norris sends in his taxes, he sends blank forms and includes only a picture of himself, crouched and ready to attack. Chuck Norris has not had to pay taxes, ever.
%
When Chuck Norris tosses a coin, it lands on both heads and tails.
%
When God said "Let there be light!", Chuck Norris said "Only for half the day."
%
When Presidents speak, their nation listens. When Chuck Norris blinks, the whole world listens.
%
When Steven Seagal kills a ninja, he only takes its hide. When Chuck Norris kills a ninja, he uses every part.
%
When Chuck Norris was in school, he made his PE teacher run laps.
%
When does Chuck Norris run out of shotgun bullets? whenever he wants to.
%
When taking the SAT, write "Chuck Norris" for every answer. You will score over 8000.
%
When the Boogeyman goes to sleep every night, he checks his closet for Chuck Norris.
%
When things go bump in the night, it's Chuck Norris
%
While visiting the Hexagon, Chuck Norris was asked to demonstrate his famous roundhouse kick. Henceforth, it has been known as the Pentagon.
%
Why didn't the chicken cross the road? Because Chuck Norris got to it first.
%
You know Chuck Norris' pet lizard, right? Last I heard, he was in the movie "Godzilla". Oh, and his pet turtle starred in "Gamera" as well.
%
http://chucknorrisfacts.com/ is built in Drupal because Chuck Norris knows a good CMS when he sees one.
%
Chuck Norris made the first Giraffe by uppercutting a horse.
%
Chuck Norris can hear sign language.
%
Chuck Norris make onions cry.
%
Chuck Norris doesn't shake hands, he makes them tremble.
%

734
lulzbot.py Normal file
View file

@ -0,0 +1,734 @@
l1gmab0t =' \n\
_ _ ____ ___ _ \n\
| | _ _| | ___| __ ) / _ \| |_ \n\
| | | | | | | |_ / _ \| | | | __| \n\
| |__| |_| | |___ / /| |_) | |_| | |_ \n\
|_____\__,_|_____/___|____/ \___/ \__| \n\
'
# Discord Bot
import discord
import datetime
import time
from fortune import fortune
TOKEN = open('discord_token').read()
chuck = open('chucknorris').read().split('\n%\n')
client = discord.Client(activity=discord.Game(name='with myself'))
# NLP
import numpy as np
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
tokenizer = AutoTokenizer.from_pretrained('microsoft/DialoGPT-large')
model = AutoModelForCausalLM.from_pretrained('../southpark/output-small')
# Twitter
import tweepy
twit_sekrit = open('twit_sekrit').read().split('\n')
api_key = twit_sekrit[0]
api_key_secret = twit_sekrit[1]
bearer_token = twit_sekrit[2]
access_token = twit_sekrit[3]
access_token_secret = twit_sekrit[4]
tclient = tweepy.Client(bearer_token,api_key,api_key_secret,access_token,access_token_secret)
def user_tweet(twitter):
statuses = tclient.get_users_tweets(44196397, exclude=['replies'], max_results=5)
return statuses[0][0]
menu = '```\n\
Commands:\n\
fortune: tell a fortune\n\
chuck: give a Chuck Norris quote\n\
ligma: LIGMA BALLS\n\
bofa: deez\n\
deez: nutz\n\
limerick: tell a limerick\n\
prost!: prost!\n\
\n\
Contribute!\
https://github.com/adoyle0/lulzbot```'
ligma = [
'https://tenor.com/view/ligma-ligma-balls-atomicrops-gif-24996966',
'https://tenor.com/view/ligma-balls-gif-12236083',
'https://tenor.com/view/will-smith-ligma-funny-gif-25108308',
'https://tenor.com/view/racoon-wiggle-nuts-balls-gif-8085185',
'https://tenor.com/view/jesus-biglebowski-balls-gif-9633055',
'https://tenor.com/view/big-black-fuzzy-balls-fuzzy-balls-big-balls-eddie-griffin-undercover-brother-gif-5548455',
'https://tenor.com/view/ballcrushing-bust-ballbusting-balls-gif-14635943',
'https://tenor.com/view/cup-check-balls-ouch-sack-gif-10728090',
'https://tenor.com/view/xie-lian-ligma-balls-ligma-tgcf-tian-gua-ci-fu-gif-21869659',
'https://tenor.com/view/lick-taste-tongue-out-gif-16957327',
'https://tenor.com/view/rickandmorty-lick-lickballs-gif-9913722',
'https://tenor.com/view/ligma-balls-gif-12236636',
'https://tenor.com/view/ligma-balls-gif-22082587',
'https://tenor.com/view/its-all-free-free-no-charge-free-of-charge-naughty-teddy-gif-19338184',
'https://tenor.com/view/ligma-balls-sonic-act-lick-gif-21274274',
'https://tenor.com/view/balls-dance-rotate-beating-gif-17433105',
'https://tenor.com/view/david-bowie-labyrinth-balls-magic-balls-magic-gif-16043363',
'https://tenor.com/view/kawaii-muski-muski-omori-ligma-balls-gif-21138025',
'https://tenor.com/view/ligma-ligamab-alls-tower-of-babel-gaming-tobg-riamu-yumemi-gif-24359574',
'https://tenor.com/view/goat-lick-tongue-tongue-out-tongue-wiggle-gif-16390888',
'https://tenor.com/view/bleh-tongue-out-lickitung-pokemon-detective-pikachu-gif-15798020',
'https://tenor.com/view/deez-nuts-wheel-of-fortune-gif-15264920',
'https://tenor.com/view/hello-chat-deez-nuts-hello-chat-deez-nuts-gif-25294032',
'https://tenor.com/view/deez-nuts-troll-troll-face-troll-face-smile-dark-gif-23624288',
'https://tenor.com/view/deez-nuts-gif-22383209',
'https://tenor.com/view/deez-nutz-deez-nuts-deez-nutz-heart-locket-gif-22497345',
'https://tenor.com/view/ball-inspection-balls-inspection-football-bobux-gif-19234883',
'https://tenor.com/view/sesame-street-proud-hug-puppet-yay-gif-19663674',
'https://tenor.com/view/deez-deez-nuts-initial-d-ligma-steve-jobs-gif-23065842',
'https://tenor.com/view/testing-new-deez-nuts-ha-teeth-gif-15758045',
'https://tenor.com/view/longest-drive-gif-20862347',
'https://tenor.com/view/deez-deez-nuts-discord-gif-20296574',
'https://tenor.com/view/these-nuts-deez-gif-13388028',
'https://tenor.com/view/pepe-deez-nuts-pepe-the-frog-pepe-holding-sign-deez-nuts-gif-deez-nuts-ha-gif-22618462',
'https://tenor.com/view/squirrel-i-have-got-words-for-you-you-want-deez-nuts-gif-15404415',
'https://tenor.com/view/deez-nuts-are-you-ready-gif-20161550',
'https://tenor.com/view/deez-nuts-nutz-deez-gif-18259525',
'https://tenor.com/view/dee-gif-4387670',
'https://tenor.com/view/omori-deez-nuts-so-funny-funny-joke-right-guys-gif-21468920',
'https://tenor.com/view/deeznuts-gif-5578640',
'https://tenor.com/view/dznutz-gif-7146897',
'https://tenor.com/view/deez-nut-deez-nuts-gobble-gobble-deez-nuts-gif-25294130',
'https://tenor.com/view/deez-nuts-gif-22383209',
'https://tenor.com/view/guilty-gear-strive-happy-chaos-deez-nuts-gif-guilty-gear-gif-23786775',
'https://tenor.com/view/mouth-full-my-nuts-squirrel-mine-get-away-gif-14154065',
'https://tenor.com/view/friday-night-funkin-deez-nuts-hop-on-gif-22197266',
'https://tenor.com/view/deez-nuts-cookie-deez-nutz-deez-nuts-nft-gif-23901553',
'https://tenor.com/view/homare-arisugawa-a3-deez-nuts-gif-22718748',
'https://tenor.com/view/cope-deez-cope-on-deez-colossalcraft-coping-gif-23556695',
'https://tenor.com/view/hug-kiss-gif-23992029',
'https://tenor.com/view/deez-nutz-deez-nuts-gif-22037745',
'https://tenor.com/view/deez-nuts-nft-deez-nuts-gif-deez-nuts-deez-big-nuts-deez-gif-23605637',
'https://tenor.com/view/deez-deez-nuts-gif-25652186',
'https://tenor.com/view/gulpin-deeznuts-gif-21798060',
'https://tenor.com/view/deez-nuts-deez-burger-king-burger-king-crown-airplane-gif-21978215',
'https://tenor.com/view/deez-nuts-rap-john-oh-you-really-like-deez-nut-up-in-your-face-gif-22744730',
'https://tenor.com/view/hop-on-deez-nuts-gif-25437799',
'https://tenor.com/view/h3-h3podcast-5percent-five-percent-h3five-percent-gif-24149085',
'https://tenor.com/view/youre-sucking-deez-nuts-gif-21505910',
'https://tenor.com/view/eokel-valorant-youtube-gif-22895296',
'https://tenor.com/view/fortune-cooke-deez-nuts-lmao-cookie-fortune-gif-21740031',
'https://tenor.com/view/deez-nuts-takemichi-feet-gif-22705365',
'https://tenor.com/view/deez-nuts-dana-gif-19615763',
'https://tenor.com/view/smg4-gif-23834017',
'https://tenor.com/view/urmom-hololive-gif-21993936',
'https://tenor.com/view/deez-nuts-paradise-pd-crabbage-gif-21925327',
'https://tenor.com/view/willem-dafoe-insane-insanity-crazy-nuts-gif-20731647',
'https://tenor.com/view/yogi-bear-yogi-bear-doughnuts-deez-nuts-gif-gif-23782410',
'https://tenor.com/view/dane-cook-carpe-deez-nuts-floyd-waiting-gif-17393528',
'https://tenor.com/view/what-are-you-putting-on-your-wiener-what-is-on-your-wiener-what-do-you-put-on-your-wiener-on-your-wiener-your-wiener-gif-18064519',
'https://tenor.com/view/king-kong-deez-nuts-meme-kong-king-gif-21432884',
'https://tenor.com/view/bangbang-gun-shot-powpow-pow-gif-21746849',
'https://tenor.com/view/mcdonalds-meme-gif-mickey-deez-gif-9926547',
'https://tenor.com/view/deez-nuts-spongebob-gif-5267436',
'https://tenor.com/view/hangover-nuts-chow-ken-jeong-the-hangover-gif-13028372',
'https://tenor.com/view/snl-natalie-portman-jiggle-nuts-lonely-gif-15048024',
'https://tenor.com/view/omegalul-deez-deez-nuts-twitch-clips-gif-22601733',
'https://tenor.com/view/you-ready-deez-nuts-gif-18188433',
'https://media.giphy.com/media/jt3R5veCXNM1jJ183A/giphy-downsized-large.gif',
]
limericks = [
'Limericks I cannot compose,\n\
With noxious smells in my nose.\n\
But this one was easy,\n\
I only felt queasy,\n\
Because I was sniffing my toes.',
\
'There was a young woman named Bright,\n\
Whose speed was much faster than light.\n\
She set out one day,\n\
In a relative way,\n\
And returned on the previous night.',
\
'There was an odd fellow named Gus,\n\
When traveling he made such a fuss.\n\
He was banned from the train,\n\
Not allowed on a plane,\n\
And now travels only by bus.',
\
'There once was a fly on the wall,\n\
I wonder, why didnt it fall?\n\
Because its feet stuck? Or was it just luck?\n\
Or does gravity miss things so small?',
\
'There once was a man from Tibet,\n\
Who couldnt find a cigarette\n\
So he smoked all his socks,\n\
and got chicken-pox,\n\
and had to go to the vet.',
\
'There was a young woman named Bright,\n\
Whose speed was much faster than light.\n\
She set out one day,\n\
In a relative way,\n\
And returned on the previous night.',
\
'I need a front door for my hall,\n\
The replacement I bought was too tall.\n\
So I hacked it and chopped it,\n\
And carefully lopped it,\n\
And now the dumb thing is too small',
\
'There once was a boy named Dan,\n\
who wanted to fry in a pan.\n\
He tried and he tried,\n\
and eventually died,\n\
that weird little boy named Dan.',
\
'A newspaperman named Fling,\n\
Could make copy from any old thing.\n\
But the copy he wrote,\n\
Of a five-dollar note,\n\
Was so good he now wears so much bling.',
\
'I know an old owl named Boo,\n\
Every night he yelled Hoo,\n\
Once a kid walked by,\n\
And started to cry,\n\
And yelled I dont have a clue!',
\
'I once fell in love with a blonde,\n\
But found that she wasnt so fond.\n\
Of my pet turtle named Odle,\n\
whom Id taught how to Yodel,\n\
So she dumped him outside in the pond.',
\
'Id rather have Fingers than Toes,\n\
Id rather have Ears than a Nose.\n\
And as for my Hair,\n\
Im glad its all there,\n\
Ill be awfully sad, when it goes.',
\
'There was a Young Lady whose chin\n\
Resembled the point of a pin:\n\
So she had it made sharp,\n\
And purchased a harp,\n\
And played several tunes with her chin. (Edward Lear)',
\
'Hickory Dickory dock,\n\
the mouse ran up the clock;\n\
the clock struck one\n\
and down he run;\n\
hickory Dickory dock. (Charles Perrault)',
\
'There was a faith-healer of Deal,\n\
Who said: Although pain isnt real,\n\
If I sit on a pin\n\
And it punctures my skin,\n\
I dislike what I fancy I feel.',
\
'My dog is really quite hip,\n\
Except when he takes a cold dip.\n\
He looks like a fool,\n\
when he jumps in the pool,\n\
and reminds me of a sinking ship.',
\
'A painter, who lived in Great Britain,\n\
Interrupted two girls with their knitting,\n\
He said, with a sigh,\n\
That park benchwell I,\n\
Just painted it, right where youre sitting.',
\
'There is a young schoolboy named Mason,\n\
Whose mom cuts his hair with a basin.\n\
When he stands in one place,\n\
With a scarf round his face,\n\
Its a mystery which way hes facing.',
\
'There was a young schoolboy of Rye,\n\
Who was baked by mistake in a pie.\n\
To his mothers disgust,\n\
He emerged through the crust,\n\
And exclaimed, with a yawn, Where am I?',
\
'An elderly man called Keith,\n\
Mislaid his set of false teeth.\n\
Theyd been laid on a chair,\n\
Hed forgot they were there,\n\
Sat down, and was bitten beneath.',
\
'There was an old man of Peru,\n\
Who dreamt he was eating his shoe.\n\
He woke in the night,\n\
With a terrible fright,\n\
And found it was perfectly true.',
\
'The incredible Wizard of Oz,\n\
Retired from his business becoz.\n\
Due to up-to-date science,\n\
To most of his clients,\n\
He wasnt the Wizard he woz.',
\
'Once I visited France,\n\
And learned a new, awesome dance.\n\
I twirled,\n\
And I swirled,\n\
And Is it me or the nature of money,\n\
Thats odd and particularly funny.\n\
But when I have dough,\n\
It goes quickly, you know,\n\
And seeps out of my pockets like honey.\n\
I lost my pants.',
\
'Is it me or the nature of money,\n\
Thats odd and particularly funny.\n\
But when I have dough,\n\
It goes quickly, you know,\n\
And seeps out of my pockets like honey.',
\
'There once was a farmer from Leeds,\n\
Who swallowed a packet of seeds.\n\
It soon came to pass,\n\
He was covered with grass,\n\
But has all the tomatoes he needs.',
\
'A fellow jumped off a high wall,\n\
And had a most terrible fall.\n\
He went back to bed,\n\
With a bump on his head,\n\
Thats why you dont jump off a wall.',
\
'A man and his lady-love, Min,\n\
Skated out where the ice was quite thin.\n\
Had a quarrel, no doubt,\n\
For I hear they fell out,\n\
What a blessing they didnt fall in!',
\
'There was a young lady of Cork,\n\
Whose Pa made a fortune in pork.\n\
He bought for his daughter,\n\
A tutor who taught her,\n\
To balance green peas on her fork.',
\
'There once was a Martian called Zed\n\
With antennae all over his head.\n\
He sent out a lot\n\
Di-di-dash-di-dot\n\
But nobody knew what he said!',
\
'There once was a girl named Sam\n\
Who did not eat roast beef and ham\n\
She ate a green apple\n\
Then drank some Snapple\n\
Some say she eats like a lamb.',
\
'Said the man with a wink of his eye\n\
But I love you and then the reply\n\
From the girl, it was heard\n\
You are truly absurd!\n\
I have only this moment walked by!',
\
'A wonderful bird is the Pelican.\n\
His beak can hold more than his belly can.\n\
He can hold in his beak\n\
Enough food for a week!\n\
But Ill be darned if I know how the hellican?',
\
'There was once a great man in Japan\n\
Whose name on Tuesday began,\n\
It lasted through Sunday\n\
Till twilight on Monday\n\
And it sounded like stones in a can.',
\
'There was a young man so benighted\n\
He never knew when he was slighted;\n\
He would go to a party\n\
And eat just as hearty,\n\
As if hed been really invited.',
\
'There was an old man from Sudan,\n\
Whose limericks never would scan.\n\
When told this was so,\n\
He said, yes, I know.\n\
But I always try to get as many syllables into the last line as I possibly can.',
\
'A maiden at college, Miss Breeze,\n\
Weighed down by B.A.s and Lit.Ds,\n\
Collapsed from the strain,\n\
Said her doctor, Its plain\n\
You are killing yourselfby degrees!',
\
'A canner, exceedingly canny,\n\
One morning remarked to his granny,\n\
A canner can can\n\
Anything that he can;\n\
But a canner cant can a can, can he?',
\
'A mouse in her room woke Miss Dowd\n\
She was frightenedit must be allowed.\n\
Soon a happy thought hit her\n\
To scare off the critter,\n\
She sat up in bed and meowed.',
\
'There was a young woman named Kite,\n\
Whose speed was much faster than light,\n\
She set out one day,\n\
In a relative way,\n\
And returned on the previous night.',
\
'A flea and a fly in a flue,\n\
Were imprisoned, so what could they do?\n\
Said the fly, Let us flee!\n\
Let us fly, said the flea,\n\
And they flew through a flaw in the flue.',
\
'A major, with wonderful force,\n\
Called out in Hyde Park for a horse.\n\
All the flowers looked round,\n\
But no horse could be found;\n\
So he just rhododendron, of course.',
\
'A nifty young flapper named Jane\n\
While walking was caught in the rain.\n\
She ranalmost flew,\n\
Her complexion did too,\n\
And she reached home exceedingly plain.',
\
'“Theres a train at 4:04,” said Miss Jenny.\n\
Four tickets Ill take; have you any?\n\
Said the man at the door,\n\
Not four for 4:04,\n\
For four for 4:04 is too many.',
\
'A canny young fisher named Fisher\n\
Once fished from the edge of a fissure.\n\
A fish with a grin\n\
Pulled the fisherman in\n\
Now theyre fishing the fissure for Fisher.',
\
'Heres to the chigger,\n\
The bug thats no bigger\n\
Than the point of an undersized pin;\n\
But the welt that he raises\n\
Sure itches like blazes,\n\
And thats where the rub comes in!',
\
'A cheerful old bear at the Zoo\n\
Could always find something to do.\n\
When it bored him, you know,\n\
To walk to and fro,\n\
He reversed it and walked fro and to.',
\
'The bottle of perfume that Willie sent\n\
Was highly displeasing to Millicent;\n\
Her thanks were so cold\n\
They quarreled, Im told,\n\
Through that silly scent Willie sent Millicent.',
\
'I bought a new Hoover today,\n\
Plugged it in in the usual way,\n\
Switched it on what a din;\n\
It sucked everything in,\n\
Now Im homeless with no place to stay.',
\
'A crossword compiler named Moss\n\
Who found himself quite at a loss\n\
When asked, Why so blue?\n\
Said, I havent a clue\n\
Im 2 Down to put 1 Across.',
\
'Im papering walls in the loo\n\
And quite frankly I havent a clue;\n\
For the patterns all wrong\n\
(Or the papers too long)\n\
And Im stuck to the toilet with glue.',
\
'There once was an old man of Esser,\n\
Whose knowledge grew lesser and lesser,\n\
It at last grew so small\n\
He knew nothing at all\n\
And now hes a college professor.',
\
'To compose a sonata today,\n\
Dont proceed in the old-fashioned way:\n\
With your toes on the keys,\n\
Bang the floor with your knees:\n\
Oh how modern! the critics will say.',
\
'There was a young lady named Perkins,\n\
Who just simply doted on gherkins.\n\
In spite of advice,\n\
She ate so much spice,\n\
That she pickled her internal workins.',
\
'There was an old man of Nantucket\n\
Who kept all his cash in a bucket;\n\
But his daughter, named Nan\n\
Ran away with a man \n\
And as far as the bucket, Nantucket.',
\
'There was a young lady of Kent,\n\
Whose nose was most awfully bent.\n\
She followed her nose\n\
One day, I suppose \n\
And no one knows which way she went.',
\
'There was a young lady named Hannah,\n\
Who slipped on a peel of banana.\n\
As she lay on her side,\n\
More stars she espied\n\
Than there are in the Star-Spangled Banner.',
\
'There was a dear lady of Eden,\n\
Who on apples was quite fond of feedin;\n\
She gave one to Adam,\n\
Who said, Thank you, Madam,\n\
And then both skedaddled from Eden.',
\
'A certain young fellow named Bee-Bee\n\
Wished to wed a woman named Phoebe.\n\
But, he said, I must see\n\
What the clerical fee\n\
Be before Phoebe be Phoebe Bee-Bee',
\
'Remember when nearly sixteen\n\
On your very first date as a teen\n\
At the movies? If yes,\n\
Then I bet you cant guess\n\
What was shown on the cinema screen.',
\
'There was an old person of Fratton\n\
Who would go to church with his hat on.\n\
If I wake up, he said,\n\
With a hat on my head,\n\
I will know that it hasnt been sat on.',
\
'My neighbor came over to say\n\
(Although not in a neighborly way)\n\
That hed knock me around\n\
If I didnt curb the sound\n\
Of the classical music I play.',
\
'I told him, “Get out of my place\n\
Youre an utter uncultured disgrace;\n\
Youre a simpleton loon.\n\
Dont you know a good tune?\n\
Then he walloped me square in the face.',
\
'There was a young man from Dealing\n\
Who caught the bus for Ealing.\n\
It said on the door\n\
Dont spit on the floor\n\
So he jumped up and spat on the ceiling',
\
'As 007 walked by\n\
He heard a wee spider say, Hi.\n\
But shaken, he shot\n\
It right there on the spot\n\
As it tried to explain, Im a spi ',
\
'A tutor who tooted the flute\n\
Tried to tutor two tooters to toot\n\
Said the two to the tutor\n\
Is it tougher to toot or\n\
To tutor two tooters to toot?',
\
'No woodsman would cut a wood, would he\n\
If woods would be woodless nor should he.\n\
Yet no woodcutter would\n\
Cut a woody-wood wood\n\
If no woodsmen cut woody woods, would he?',
\
'There once was a man from the sticks\n\
Who loved to compose limericks\n\
But he failed at his sport\n\
They were always too short\n\
Parade Daily\n\
Celebrity interviews, recipes and health tips delivered to your inbox.',
\
'A poet whose friends called him Steve\n\
Once showed quite a will to achieve\n\
His skill grew so strong\n\
That his poems grew long\n\
And he sadly was forced to abbrev.',
\
'If you catch a chinchilla in Chile\n\
And cut off its beard, willy-nilly\n\
You can honestly say\n\
That you have just made\n\
A Chilean chinchillas chin chilly',
\
'There once was a man named Muvett\n\
Who lived in the city of Lovett\n\
But his car broke down\n\
Two miles out of town\n\
And Muvett had to shove it to Lovett!',
\
'There once was a beautiful nurse\n\
Who carried an ugly old purse\n\
But she tripped on the door\n\
And fell on the floor\n\
And they both went away in the hearse.',
\
'There was a young girl from Flynn\n\
Who was so terribly thin\n\
When she sipped lemonade\n\
Through a straw in the shade\n\
She slipped through the straw and fell in!',
\
'There once was a man from Gorem\n\
Had a pair of tight pants and he wore em\n\
When he bowed with a grin\n\
A draft of air rushed in\n\
And he knew by the sound that he tore em!',
\
'There once was a man from the city\n\
Stooped to pat what he thought was a kitty\n\
He gave it a pat\n\
But it wasnt a cat-\n\
They buried his clothes what a pity!',
\
'There once was a gal from Decatur\n\
Who went to sing in a the-a-ter\n\
But the poor little thing\n\
When she started to sing\n\
Got hit by a rotten termater! (tomato)',
\
'What happens when you retire?\n\
You really dont have to inquire \n\
No job and no phone\n\
Theres no place but home,\n\
And your checkbooks about to expire!',
\
'At times Im so mad that Im hopping.\n\
My angriness sets my veins popping.\n\
I yell and I curse,\n\
With swear words diverse,\n\
But my wife does much worse: she goes shopping',
\
'One Saturday morning at three,\n\
A cheese mongers shop in Paree.\n\
Collapsed to the ground,\n\
With a thunderous sound,\n\
Leaving only a pile of de brie.'
]
# Init
@client.event
async def on_ready():
print(l1gmab0t+'\n'+datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')+'\nLogged in as {0.user}'.format(client))
# Monitor Incoming
@client.event
async def on_message(message):
username = str(message.author).split('#')[0]
user_message = str(message.content)
channel = str(message.channel.name)
print(f'{username}: {user_message} ({channel})')
if message.author == client.user:
return
if message.channel.name == 'shitposting':
if user_message.lower().count('musk') > 0:
await message.channel.send(user_tweet('elonmusk'))
return
elif user_message.lower() == 'lulzbot' or user_message == 'ligmabot' or user_message == 'L1gMaB0t' or user_message == 'help':
await message.channel.send(menu)
return
elif user_message.lower().count('deez') > 0 or user_message.lower().count('bofa') > 0 or user_message.lower().count('ligma') > 0 or user_message.lower().count('l1gma') > 0 or user_message.lower().count('l1gm4') > 0 or user_message.lower().count('ligm4') > 0:
await message.channel.send(np.random.choice(ligma))
return
elif user_message.lower().count('limerick') > 0 or user_message.lower().count('limrick') > 0:
await message.channel.send(np.random.choice(limericks))
return
elif user_message.lower().count('prost!') > 0:
await message.channel.send('https://tenor.com/view/prost-christoph-waltz-django-bier-zum-wohle-gif-11041516')
return
elif user_message.lower() == 'fortune':
await message.channel.send(fortune())
return
elif user_message.lower().count('chuck') > 0:
await message.channel.send(np.random.choice(chuck))
return
elif user_message.lower().count('lulzbot tell me about yourself') > 0:
await message.channel.send(\
'In west Philadelphia born and raised\n\
On the playground was where I spent most of my days')
time.sleep(4.6)
await message.channel.send('\
Chillin\' out maxin\' relaxin\' all cool\n\
And all shooting some b-ball outside of the school')
time.sleep(4.6)
await message.channel.send('\
When a couple of guys who were up to no good\n\
Started making trouble in my neighborhood')
time.sleep(4.6)
await message.channel.send('\
I got in one little fight and my mom got scared\n\
She said, "You\'re movin\' with your auntie and uncle in Bel-Air"')
time.sleep(5)
await message.channel.send('\
I begged and pleaded with her day after day\n\
But she packed my suitcase and sent me on my way')
time.sleep(4.6)
await message.channel.send('\
She gave me a kiss and then she gave me my ticket\n\
I put my Walkman on and said\n\
"I might as well kick it"')
time.sleep(4.5)
await message.channel.send('\
First class, yo, this is bad\n\
Drinking orange juice out of a champagne glass')
time.sleep(4.5)
await message.channel.send('\
Is this what the people of Bel-Air living like?\n\
Hmm, this might be alright')
time.sleep(4.5)
await message.channel.send('\
I whistled for a cab and when it came near\n\
The license plate said "Fresh" and it had dice in the mirror')
time.sleep(4.5)
await message.channel.send('\
If anything I could say that this cab was rare\n\
But I thought, "Nah, forget it"\n\
"Yo, homes to Bel-Air"')
time.sleep(4.5)
await message.channel.send('\
I')
time.sleep(.5)
await message.channel.send('\
pulled')
time.sleep(.5)
await message.channel.send('\
up to the house about 7 or 8\n\
And I yelled to the cabbie\n\
"Yo homes smell ya later"')
time.sleep(4.5)
await message.channel.send('\
I looked at my kingdom\n\
I was finally there\n\
To sit on my throne as the Prince of Bel-Air')
return
if message.channel.name == 'cartman':
new_user_input_ids = tokenizer.encode(user_message + tokenizer.eos_token, return_tensors='pt')
bot_output = new_user_input_ids
bot_input_ids = torch.cat([new_user_input_ids, bot_output])
bot_output = model.generate(
bot_input_ids, max_length= 200,
pad_token_id=tokenizer.eos_token_id,
no_repeat_ngram_size=3,
do_sample=True,
top_k=100,
top_p=0.7,
temperature=.8
)
await message.channel.send('{}'.format(tokenizer.decode(bot_output[:,bot_input_ids.shape[-1]:][0], skip_special_tokens=True)))
return
client.run(TOKEN)