Initial commit
This commit is contained in:
commit
67ad573dd6
9 files changed
+1577
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,14 @@
|
||||
import random
|
||||
|
||||
adjs = ['able', 'aching', 'acidic', 'active', 'actual', 'adept', 'admired', 'adored', 'afraid', 'aged', 'agile', 'ajar', 'alarmed', 'alert', 'alive', 'all', 'amazing', 'ample', 'amused', 'amusing', 'ancient', 'angelic', 'angry', 'annual', 'another', 'antique', 'anxious', 'any', 'apt', 'arctic', 'arid', 'ashamed', 'assured', 'austere', 'average', 'aware', 'awesome', 'awful', 'awkward', 'babyish', 'back', 'bad', 'baggy', 'bare', 'barren', 'basic', 'belated', 'beloved', 'best', 'better', 'big', 'bitter', 'black', 'bland', 'blank', 'blaring', 'bleak', 'blind', 'blond', 'blue', 'bogus', 'boiling', 'bold', 'bony', 'boring', 'bossy', 'both', 'bouncy', 'bowed', 'brave', 'brief', 'bright', 'brisk', 'broken', 'bronze', 'brown', 'bruised', 'bubbly', 'bulky', 'bumpy', 'buoyant', 'burly', 'busy', 'buttery', 'buzzing', 'calm', 'candid', 'canine', 'capital', 'careful', 'caring', 'cheap', 'cheery', 'chief', 'chilly', 'chubby', 'classic', 'clean', 'clear', 'clever', 'close', 'closed', 'cloudy', 'clumsy', 'coarse', 'cold', 'common', 'complex', 'content', 'cooked', 'cool', 'corny', 'corrupt', 'costly', 'crafty', 'crazy', 'creamy', 'creepy', 'crisp', 'crooked', 'crowded', 'cruel', 'cuddly', 'curly', 'curvy', 'cute', 'damaged', 'damp', 'dapper', 'daring', 'dark', 'darling', 'dead', 'deadly', 'dear', 'dearest', 'decent', 'decimal', 'deep', 'defiant', 'delayed', 'dense', 'dental', 'devoted', 'digital', 'dim', 'dimpled', 'direct', 'dirty', 'dismal', 'distant', 'dizzy', 'dopey', 'doting', 'double', 'drab', 'drafty', 'dreary', 'droopy', 'dry', 'dual', 'dull', 'dutiful', 'each', 'eager', 'early', 'earnest', 'easy', 'edible', 'elastic', 'elated', 'elderly', 'elegant', 'eminent', 'empty', 'enraged', 'entire', 'envious', 'equal', 'ethical', 'even', 'every', 'evil', 'exalted', 'excited', 'exotic', 'expert', 'failing', 'faint', 'fair', 'fake', 'false', 'famous', 'fancy', 'far', 'far-off', 'faraway', 'fast', 'fat', 'fatal', 'fearful', 'feisty', 'feline', 'female', 'few', 'fickle', 'filthy', 'fine', 'firm', 'first', 'fitting', 'fixed', 'flaky', 'flashy', 'flat', 'flawed', 'flimsy', 'flowery', 'fluffy', 'fluid', 'focused', 'fond', 'foolish', 'forked', 'formal', 'frail', 'frank', 'frayed', 'free', 'French', 'fresh', 'frigid', 'frilly', 'frizzy', 'front', 'frosty', 'frozen', 'frugal', 'full', 'funny', 'fussy', 'fuzzy', 'gaseous', 'general', 'gentle', 'genuine', 'giant', 'giddy', 'gifted', 'giving', 'glaring', 'glass', 'gleeful', 'gloomy', 'glossy', 'glum', 'golden', 'good', 'grand', 'grave', 'gray', 'great', 'greedy', 'green', 'grim', 'grimy', 'gross', 'grouchy', 'growing', 'grown', 'grubby', 'grumpy', 'guilty', 'gummy', 'hairy', 'half', 'handy', 'happy', 'hard', 'harmful', 'harsh', 'hasty', 'hateful', 'healthy', 'hearty', 'heavy', 'hefty', 'helpful', 'hidden', 'hideous', 'high', 'hoarse', 'hollow', 'homely', 'honest', 'honored', 'hopeful', 'hot', 'huge', 'humble', 'humming', 'hungry', 'hurtful', 'husky', 'icky', 'icy', 'ideal', 'idiotic', 'idle', 'ill', 'illegal', 'immense', 'impish', 'impure', 'inborn', 'intent', 'itchy', 'jaded', 'jagged', 'jaunty', 'jealous', 'jittery', 'joint', 'jolly', 'jovial', 'joyful', 'joyous', 'juicy', 'jumbo', 'jumpy', 'junior', 'keen', 'key', 'kind', 'kindly', 'klutzy', 'knobby', 'knotty', 'knowing', 'known', 'kooky', 'kosher', 'lame', 'lanky', 'large', 'last', 'lasting', 'late', 'lavish', 'lawful', 'lazy', 'leading', 'leafy', 'lean', 'left', 'legal', 'light', 'likable', 'likely', 'limited', 'limp', 'limping', 'linear', 'lined', 'liquid', 'little', 'live', 'lively', 'livid', 'lone', 'lonely', 'long', 'loose', 'lost', 'loud', 'lovable', 'lovely', 'loving', 'low', 'loyal', 'lucky', 'lumpy', 'mad', 'made-up', 'major', 'male', 'mammoth', 'married', 'massive', 'mature', 'meager', 'mealy', 'mean', 'measly', 'meaty', 'medical', 'medium', 'meek', 'mellow', 'melodic', 'merry', 'messy', 'mild', 'milky', 'minor', 'minty', 'miserly', 'misty', 'mixed', 'modern', 'modest', 'moist', 'monthly', 'moral', 'muddy', 'muffled', 'mundane', 'murky', 'mushy', 'musty', 'muted', 'naive', 'narrow', 'nasty', 'natural', 'naughty', 'near', 'neat', 'needy', 'nervous', 'new', 'next', 'nice', 'nifty', 'nimble', 'nippy', 'noisy', 'nonstop', 'normal', 'notable', 'noted', 'novel', 'noxious', 'numb', 'nutty', 'obese', 'oblong', 'obvious', 'odd', 'oddball', 'offbeat', 'oily', 'old', 'only', 'open', 'optimal', 'opulent', 'orange', 'orderly', 'organic', 'ornate', 'ornery', 'other', 'our', 'oval', 'overdue', 'pale', 'paltry', 'parched', 'partial', 'past', 'pastel', 'peppery', 'perfect', 'perky', 'pesky', 'petty', 'phony', 'pink', 'pitiful', 'plain', 'plastic', 'playful', 'pleased', 'plump', 'plush', 'pointed', 'poised', 'polite', 'poor', 'popular', 'portly', 'posh', 'potable', 'present', 'pretty', 'pricey', 'prickly', 'primary', 'prime', 'private', 'prize', 'profuse', 'proper', 'proud', 'prudent', 'pungent', 'puny', 'pure', 'purple', 'pushy', 'putrid', 'puzzled', 'quaint', 'queasy', 'quick', 'quiet', 'quirky', 'radiant', 'ragged', 'rapid', 'rare', 'rashLine truncated
|
||||
animals = ['frog', 'newt', 'tadpole', 'toad', 'spider', 'biddy', 'canary', 'crow', 'cuckoo', 'dove,', 'pigeon', 'duck', 'eagle', 'falcon', 'finch', 'goose', 'gull', 'hawk', 'jackdaw', 'jay', 'kestrel', 'mallard', 'ostrich', 'owl', 'parrot', 'peacock', 'pelican', 'penguin', 'piranha', 'raven', 'robin', 'rooster', 'sparrow', 'stork', 'swallow', 'swan', 'swift', 'tit', 'turkey', 'vulture', 'wren', 'barbel', 'carp', 'cod', 'crab', 'eel', 'haddock', 'halibut', 'lobster', 'perch', 'pike', 'plaice', 'ray', 'salmon', 'sawfish', 'scallop', 'shark', 'shell', 'shrimp', 'trout', 'ant', 'aphid', 'bee', 'beetle', 'flea', 'fly', 'gadfly', 'ladybug', 'larva', 'maggot', 'midge', 'moth', 'nymph', 'wasp', 'badger', 'bat', 'bear', 'beaver', 'bullock', 'camel', 'dolphin', 'fox', 'gazelle', 'gerbil', 'giraffe', 'goat', 'hamster', 'hare', 'hare', 'horse', 'hyena', 'lion', 'llama', 'lynx', 'mammoth', 'marmot', 'mink', 'mole', 'mouse', 'mule', 'otter', 'panda', 'polecat', 'pony', 'puma', 'racoon', 'rat', 'seal', 'seal', 'sheep', 'skunk', 'sloth', 'tiger', 'weasel', 'whale', 'wolf', 'zebra', 'slug', 'snail', 'boa', 'gecko', 'iguana', 'lizard', 'python', 'saurian', 'snake', 'leech']
|
||||
|
||||
async def generate_word(bot, server_id):
|
||||
exists = 1
|
||||
while exists is not None:
|
||||
ad = random.sample(adjs, 2)
|
||||
an = random.sample(animals, 1)
|
||||
short = ad[0].capitalize() + ad[1].capitalize() + an[0].capitalize()
|
||||
exists = await bot.db.polls.find_one({'server_id': str(server_id), 'short': short})
|
||||
|
||||
return short
|
||||
Reference in new issue
Block a user