diff --git a/plugins/emote.db b/plugins/emote.db new file mode 100644 index 0000000..8166a4e --- /dev/null +++ b/plugins/emote.db @@ -0,0 +1,217 @@ + + + + + + + + Retard Synonyms: 78 Synonyms & Antonyms for Retard | Thesaurus.com + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
Thesaurus.com
Thesaurus / retard

USE retard IN A SENTENCE

Join our early testers! See how your sentence looks with different synonyms.

Characters: 0/140
Roget's 21st Century Thesaurus, Third Edition Copyright © 2013 by the Philip Lief Group.

QUIZZES

Celebrate Your Grammar Skills With This Quiz

START THE QUIZ

WORDS RELATED TO RETARD

Roget's 21st Century Thesaurus, Third Edition Copyright © 2013 by the Philip Lief Group.

WORD OF THE DAY

proceleusmaticadjective | [pros-uh-loos-mat-ik, proh-suh- ]SEE DEFINITION
Learning At Home +Just Got Easier!
+
+ + + + + + + + diff --git a/plugins/greet.db b/plugins/greet.db new file mode 100644 index 0000000..a98dfc8 --- /dev/null +++ b/plugins/greet.db @@ -0,0 +1,163 @@ +Afrikaans: Hallo + +Albanian: Mirë dita + +Amharic: ታዲያስ (Tadiyas) + +Arabic: مرحبا (Marhaban or Marhabaa) + +Azerbaijani: Салам / سلام (salam) + +Basque: Kaixo + +Bengali: নমস্কার (Nomoshkaar or Namaskar) + +Bosnian: Zdravo + +Brazilian Portugese: Olá or Oi (view Portuguese language schools in Brazil) + +Breton: Demat + +Bulgarian: Здравейте (Zdravey) + +Catalan: Hola + +Chichewa: Moni + +Corsican: Bonghjornu + +Croatian: Bok + +Czech: Ahoj + +Danish: Hej + +Dutch: Hallo + +English: Hello + +Espetanto: Saluton + +Estonian: Tere + +Farsi: سلام or درود بر تو or درود بر شما (Salaam or Dorood bar to or Dorood bar shoma) + +Fijian: Bula + +Filipino: Kamusta + +Finnish: Hei or Terve + +French: Bonjour (view French language schools in France) + +Georgian: მიესალმები (miesalmebi) + +German: Hallo (view German language schools in Germany) + +Greek: Χαίρε (chai-ray) or Γεια σου (yiassoo) + +Hausa: Hello + +Hawaiian: Aloha + +Hebrew: שלום (Shalom) + +Hindi: नमस्ते (Namaste) + +Hungarian: Sziasztok + +Indonesian: Halo or Hai + +Irish: Dia dhuit + +Italian: Ciao + +Japanese: こんにちは (Kon'nichiwa) (view Japanese language schools in Japan) + +Kannada: ನಮಸ್ಕಾರ (Namaskār) + +Khmer: ជំរាបសួរ (Cham reap sour) + +Korean: 안녕 (Annyeong) + +Lao: ສະບາຍດີ (sabaidi) + +Latin: Salve + +Latvian: Sveiki + +Limburgish: Hallau + +Lithuanian: Sveiki + +Macedonian: Добар ден (Dobar den) + +Malaysian: Selamat tengahari + +Maltese: Ħelow + +Mandarin Chinese: 你好 (Nǐ hǎo) (view Chinese language schools in China) + +Maori: Kia ora + +Nepali: नमस्ते (Namaste) + +Norwegian: Hei + +Odia: ନମସ୍କାର (Namaskār) + +Pashto: سلام (salam) + +Polish: Cześć or Hej + +Portugese: Olá or Oi (view Portuguese language schools in Portugal) + +Romanian: Buna + +Russian: Привет (Preevyet) (view Russian language schools in Russia) + +Samoan: Talofa + +Scottish Gaelic: Haló + +Serbian: Здраво (Zdravo) + +Shanghainese: 侬好 (Noŋ hɔ) + +Shona: Mhoro + +Slovak: Ahoj + +Slovenian: Zdravo + +Spanish: Hola (view Spanish language schools in Spain / Spanish language courses in South America) + +Swabian: Grüss Gott + +Swahili: Hodi + +Swedish: Hej or Hallá + +Tamil: வனக்கம் (Vanakkam) + +Vietnamese: Xin chào (Krekt) + +Woiworung: Womenjeka + +Yiddish: שלום (Sholem) + +Tamil: வணக்கம் (Vanakaam) + +Telugu: నమస్కారం (Namaskāram) + +Thai: (Female) สวัสดีค่ะ (Sawatdeekha) / (Male): สวัสดีครับ (Sawatdeekhrap) (view Thai language schools in Thailand) + +Turkish: Merhaba + +Vietnamese: Chào bạn + +Welsh: Helo + +Yiddish: העלא (Hela) + +Zulu: Sawubona diff --git a/plugins/krylon.py b/plugins/krylon.py index b5dcd15..49d9fc8 100644 --- a/plugins/krylon.py +++ b/plugins/krylon.py @@ -1,16 +1,18 @@ # -*- coding: utf-8 -*- from irc3.plugins.command import command import irc3 -#import ipdb +import random testfile = ['a'*40,'b'*40,'c'*40,'d'*40,'1'*40,'2'*40,'3'*40,'4'*40] KRYLON_FILE = testfile -TOTAL_BOTS = 4 +TOTAL_BOTS = 50 CONNECTED_BOTS = [] ONLINE_BOTS = [] INITIALIZED = 0 +dir_path = os.path.dirname(os.path.realpath(__file__)) + @irc3.plugin class Plugin(object): @@ -20,14 +22,40 @@ class Plugin(object): self.channel = context.config.channel self.init = 0 + def __emoj(self,s): + emote_db = '%s/emote.db' % dir_path + emoj = random.choice(list(open(emote_db))) + random.randint(0,1) + if random.randint(0,1) == 0: + emoj = "\x0304{}\x0F".format(emoj) + else: + emoj = "\x0303{}\x0F".format(emoj) + s = s + ' ▶ ' + emoj + return s + + def __greet(self): + greet_db = '%s/greet.db' % dir_path + greet = random.choice(list(open(greet_db))) + greet + return s + + def __symbol(self,s): + symbol_db = '%s/symbol.db' % dir_path + symbol = random.choice(list(open(symbol_db))) + symbol + return s + def krylon(self): if self.init == 0: KRYLON_FILE.reverse() self.init = 1 - MSG='sent validation test' + NICK='d' + SYMBOL=self.__symbol() + GREET=self.__greet() + MSG='{}: {} {} <<>>'.format(NICK,SYMBOL,GREET) CHN='#sh0rtbus' + MSG = self.__emoj(MSG) self.context.privmsg(CHN,MSG) - BotTestCase.assertSent(['PRIVMSG {} :{}'.format(CHN,MSG)]) @irc3.event(irc3.rfc.JOIN) def welcome(self, mask, channel, **kw): diff --git a/plugins/symbol.db b/plugins/symbol.db new file mode 100644 index 0000000..74a8548 --- /dev/null +++ b/plugins/symbol.db @@ -0,0 +1,4 @@ +ψ +☠ +☽ +☀