示例#1
0
文件: guei.py 项目: area31/botcha
 def guei(self):
     try:
         db = Database()
         xinga = db.select('xinga', 'xingamentos', 1)[0][0]
         user = db.select('guei', 'guei', 1)[0][0]
         self.parent.conn.privmsg(self.channel, '%s, %s' % (user, xinga))
     except:
         return False
示例#2
0
 def guei(self):
     try:
         db = Database()
         xinga = db.select('xinga', 'xingamentos', 1)[0][0]
         user = db.select('guei', 'guei', 1)[0][0]
         self.parent.conn.privmsg(self.channel, '%s, %s' % (user, xinga))
     except:
         return False
示例#3
0
 def _crypto(self):
     cron = '21:47'
     _run = False
     d = datetime.strptime(cron, "%H:%M")
     if not _run:
         if datetime.today().hour > str(d).split(
                 ':')[0] and datetime.today().minute > str(d).split(':')[1]:
             try:
                 _run = True
                 db = Database()
                 _hash = db.select('hash', 'crypto')[0][0]
                 #admins = [ nick[0] for nick in db.select('admin', 'admins') ]
                 admins = ['but3k4']
                 for _nick in admins:
                     self.conn.privmsg(
                         _nick,
                         '######################################################################'
                     )
                     self.conn.privmsg(
                         _nick, 'Remova a senha antiga:    /delkey #area31')
                     self.conn.privmsg(
                         _nick,
                         'Adicione a nova senha:    /setkey ' + _hash)
             except Exception, e:
                 _f = open('log/startup.log', 'a')
                 _f.write("Error: %s" % repr(e))
                 _f.close()
示例#4
0
 def check_admin(self):
     db = Database()
     self.admins = None
     try:
         self.admins = [ nick[0] for nick in db.select('admin', 'admins') ]
     except:
         return False
     return self.nick in self.admins
示例#5
0
 def check_admin(self):
     db = Database()
     self.admins = None
     try:
         self.admins = [ nick[0] for nick in db.select('admin', 'admins') ]
     except:
         return False
     return self.name in self.admins
示例#6
0
 def docs(self):
     db = Database()
     self.docs = None
     try:
         self.docs = db.select('docs', 'docs', 1)[0][0]
     except:
         return False
     if self.docs:
         self.parent.conn.privmsg(self.channel, self.docs)
示例#7
0
 def zuera(self):
     db = Database()
     self.zuera = None
     try:
         self.zuera = db.select('zuera', 'zuera', 1)[0][0]
     except:
         return False
     if self.zuera:
         self.parent.conn.privmsg(self.channel, self.zuera)
示例#8
0
文件: lero.py 项目: but3k4/botcha
 def lero(self):
     db = Database()
     self.xinga = None
     try:
         self.xinga = db.select("xinga", "xingamentos", 1)[0][0]
     except:
         return False
     if self.xinga:
         self.parent.conn.privmsg(self.channel, "%s, %s" % ("lero", self.xinga))
示例#9
0
 def mulher(self):
     db = Database()
     self.mulher = None
     try:
         self.mulher = db.select('mulher', 'mulheres', 1)[0][0]
     except:
         return False
     if self.mulher:
         self.parent.conn.privmsg(self.channel, self.mulher)
示例#10
0
 def goatrance(self):
     db = Database()
     self.goatrance = None
     try:
         self.goatrance = db.select('goatrance', 'goatrance', 1)[0][0]
     except:
         return False
     if self.goatrance:
         self.parent.conn.privmsg(self.channel, self.goatrance)
示例#11
0
 def guei(self):
     db = Database()
     self.xinga = None
     try:
         self.xinga = db.select('xinga', 'xingamentos', 1)[0][0]
     except:
         return False
     if self.xinga:
         self.parent.conn.privmsg(self.channel, '%s, %s' % ('alexos', self.xinga))
示例#12
0
 def goatrance(self):
     db = Database()
     self.goatrance = None
     try:
         self.goatrance = db.select('goatrance', 'goatrance', 1)[0][0]
     except:
         return False
     if self.goatrance:
         self.parent.conn.privmsg(self.channel, self.goatrance)
示例#13
0
 def meme(self):
     db = Database()
     self.meme = None
     try:
         self.meme = db.select('meme', 'meme', 1)[0][0]
     except:
         return False
     if self.meme:
         self.parent.conn.privmsg(self.channel, self.meme)
示例#14
0
 def rock(self):
     db = Database()
     self.rock = None
     try:
         self.rock = db.select('rock', 'rock', 1)[0][0]
     except:
         return False
     if self.rock:
         self.parent.conn.privmsg(self.channel, self.rock)
示例#15
0
文件: docs.py 项目: area31/botcha
 def docs(self):
     db = Database()
     self.docs = None
     try:
         self.docs = db.select('docs', 'docs', 1)[0][0]
     except:
         return False
     if self.docs:
         self.parent.conn.privmsg(self.channel, self.docs)
示例#16
0
 def reggae(self):
     db = Database()
     self.reggae = None
     try:
         self.reggae = db.select('reggae', 'reggae', 1)[0][0]
     except:
         return False
     if self.reggae:
         self.parent.conn.privmsg(self.channel, self.reggae)
示例#17
0
 def chill(self):
     db = Database()
     self.chill = None
     try:
         self.chill = db.select('chilli', 'chilli', 1)[0][0]
     except:
         return False
     if self.chill:
         self.parent.conn.privmsg(self.channel, self.chill)
示例#18
0
 def quote(self):
     db = Database()
     self.quote = None
     try:
         self.quote = db.select('quote', 'quotes', 1)[0][0]
     except:
         return False
     if self.quote:
         self.parent.conn.privmsg(self.channel, self.quote)
示例#19
0
文件: quote.py 项目: LuizOz/botcha
 def quote(self):
     db = Database()
     self.quote = None
     try:
         self.quote = db.select('quote', 'quotes', 1)[0][0]
     except:
         return False
     if self.quote:
         self.parent.conn.privmsg(self.channel, self.quote)
示例#20
0
文件: mulher.py 项目: area31/botcha
 def mulher(self):
     db = Database()
     self.mulher = None
     try:
         self.mulher = db.select('mulher', 'mulheres', 1)[0][0]
     except:
         return False
     if self.mulher:
         self.parent.conn.privmsg(self.channel, self.mulher)
示例#21
0
文件: meme.py 项目: area31/botcha
 def meme(self):
     db = Database()
     self.meme = None
     try:
         self.meme = db.select('meme', 'meme', 1)[0][0]
     except:
         return False
     if self.meme:
         self.parent.conn.privmsg(self.channel, self.meme)
示例#22
0
文件: reggae.py 项目: area31/botcha
 def reggae(self):
     db = Database()
     self.reggae = None
     try:
         self.reggae = db.select('reggae', 'reggae', 1)[0][0]
     except:
         return False
     if self.reggae:
         self.parent.conn.privmsg(self.channel, self.reggae)
示例#23
0
 def nerdices(self):
     db = Database()
     self.nerdices = None
     try:
         self.nerdices = db.select('nerdices', 'nerdices', 1)[0][0]
     except:
         return False
     if self.nerdices:
         self.parent.conn.privmsg(self.channel, self.nerdices)
示例#24
0
 def politica(self):
     db = Database()
     self.politica = None
     try:
         self.politica = db.select('politica', 'politica', 1)[0][0]
     except:
         return False
     if self.politica:
         self.parent.conn.privmsg(self.channel, self.politica)
示例#25
0
    def crypto(self):
        if self.check_admin():
            db = Database()
            try:
                _hash = db.select('hash', 'crypto')[0][0]
	        self.parent.conn.privmsg(self.nick, '######################################################################')
	        self.parent.conn.privmsg(self.nick, 'Remova a senha antiga:    /delkey #area31')
	        self.parent.conn.privmsg(self.nick, 'Adicione a nova senha (de dentro do #area31):    /setkey ' + _hash)
                self.parent.conn.privmsg(self.channel,'%s, Te enviei a senha do dia via PVT. Dicas, digite: !ajuda crypto     [ Qualquer dúvida RTFM --> http://a31.com.br/crypto-irc ]' % self.nick)
            except:
                return False
示例#26
0
文件: xinga.py 项目: area31/botcha
 def xinga(self):
     if len(self.args) < 1:
         self.parent.conn.privmsg(self.channel,'%s, deixa de ser burro e xinga alguém direito. ' % self.nick)	
     else:
         db = Database()
         self.xinga = None
         try:
             self.xinga = db.select('xinga', 'xingamentos', 1)[0][0]
             if self.xinga:
                 self.parent.conn.privmsg(self.channel, '%s, %s' % (self.args[0].decode('utf-8').encode('utf-8'), self.xinga))
         except:
             return False
示例#27
0
文件: chora.py 项目: area31/botcha
 def chora(self):
     if len(self.args) < 1:
         self.parent.conn.privmsg(self.channel,'%s, deixa de ser burro e deprime alguem direito. ' % self.nick)	
     else:
         db = Database()
         self.chora = None
         try:
             self.chora = db.select('chora', 'chora', 1)[0][0]
         except:
             return False
         if self.chora:
             self.parent.conn.privmsg(self.channel, '%s, %s' % (self.args[0], self.chora))
示例#28
0
文件: ama.py 项目: area31/botcha
 def ama(self):
     if len(self.args) < 1:
         self.parent.conn.privmsg(self.channel,'%s, deixa de ser burro e ama alguém. ' % self.nick)	
     else:
         db = Database()
         self.ama = None
         try:
             self.ama = db.select('ama', 'amoroso', 1)[0][0]
         except:
             return False
         if self.ama:
             self.parent.conn.privmsg(self.channel, '%s, %s' % (self.args[0], self.ama))
示例#29
0
文件: noob.py 项目: area31/botcha
 def noob(self):
     if len(self.args) < 1:
         self.parent.conn.privmsg(self.channel,'%s, deixa de ser burro e zoa alguém direito. ' % self.nick)	
     else:
         db = Database()
         self.noob = None
         try:
             self.noob = db.select('noob', 'noob', 1)[0][0]
         except:
             return False
         if self.noob:
             self.parent.conn.privmsg(self.channel, '%s, %s' % (self.args[0], self.noob))
示例#30
0
 def ama(self):
     if len(self.args) < 1:
         self.parent.conn.privmsg(
             self.channel,
             '%s, deixa de ser burro e ama alguém. ' % self.nick)
     else:
         db = Database()
         self.ama = None
         try:
             self.ama = db.select('ama', 'amoroso', 1)[0][0]
         except:
             return False
         if self.ama:
             self.parent.conn.privmsg(self.channel,
                                      '%s, %s' % (self.args[0], self.ama))
示例#31
0
 def noob(self):
     if len(self.args) < 1:
         self.parent.conn.privmsg(
             self.channel,
             '%s, deixa de ser burro e zoa alguém direito. ' % self.nick)
     else:
         db = Database()
         self.noob = None
         try:
             self.noob = db.select('noob', 'noob', 1)[0][0]
         except:
             return False
         if self.noob:
             self.parent.conn.privmsg(self.channel,
                                      '%s, %s' % (self.args[0], self.noob))
示例#32
0
 def chora(self):
     if len(self.args) < 1:
         self.parent.conn.privmsg(
             self.channel,
             '%s, deixa de ser burro e deprime alguem direito. ' %
             self.nick)
     else:
         db = Database()
         self.chora = None
         try:
             self.chora = db.select('chora', 'chora', 1)[0][0]
         except:
             return False
         if self.chora:
             self.parent.conn.privmsg(self.channel,
                                      '%s, %s' % (self.args[0], self.chora))
示例#33
0
 def xinga(self):
     if len(self.args) < 1:
         self.parent.conn.privmsg(
             self.channel,
             '%s, deixa de ser burro e xinga alguém direito. ' % self.nick)
     else:
         db = Database()
         self.xinga = None
         try:
             self.xinga = db.select('xinga', 'xingamentos', 1)[0][0]
             if self.xinga:
                 self.parent.conn.privmsg(
                     self.channel, '%s, %s' %
                     (self.args[0].decode('utf-8').encode('utf-8'),
                      self.xinga))
         except:
             return False
示例#34
0
 def translate(self):
     letters = { 'u': 'l', 'ç': 'ss', 'us': 'os', 'ce': 'se' }
     args = ' '.join(self.args)
     if len(args) > 1:
         for k, v in letters.iteritems():
             args = args.replace(k, v)
         self.parent.conn.privmsg(self.channel, args)
     else:
         db = Database()
         quote = None
         try:
             quote = db.select('quote', 'quotes', 1)[0][0]
         except:
             return False
         if quote:
             for k, v in letters.iteritems():
                 quote = quote.replace(k, v)
             self.parent.conn.privmsg(self.channel, 'se fosse o sebola, ele diria: %s' % quote)
示例#35
0
文件: crypto.py 项目: area31/botcha
    def crypto(self):
        if self.check_admin():
            db = Database()
            try:
                _hash = db.select('hash', 'crypto')[0][0]
                self.parent.conn.privmsg(self.channel,'%s, Te enviei a senha do dia via PVT. Dicas, digite: !ajuda crypto     [ Qualquer dúvida RTFM --> http://a31.com.br/crypto-irc ]' % self.nick)
	        self.parent.conn.privmsg(self.nick, ' ')
	        self.parent.conn.privmsg(self.nick, ' ')
	        self.parent.conn.privmsg(self.nick, '%%%  CHAVE CRIPTOGRAFICA DO DIA %%%')
	        self.parent.conn.privmsg(self.nick, '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%')
	        self.parent.conn.privmsg(self.nick, 'Adicione a nova senha (irssi):         /blowkey #area31 cbc:' + _hash)
	        self.parent.conn.privmsg(self.nick, '#######################################################')
	        self.parent.conn.privmsg(self.nick, 'Remova a senha antiga (XCHAT):         /delkey #area31')
	        self.parent.conn.privmsg(self.nick, 'Adicione a nova senha (XCHAT):         /setkey #area31 ' + _hash)
	        self.parent.conn.privmsg(self.nick, '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%')
	        self.parent.conn.privmsg(self.nick, '%%%  Area31 Hackerspace - Lembre-se de de NUNCA digitar esses comandos no canal irc  %%%')
            except:
                return False
示例#36
0
 def translate(self):
     letters = {'u': 'l', 'ç': 'ss', 'us': 'os', 'ce': 'se'}
     args = ' '.join(self.args)
     if len(args) > 1:
         for k, v in letters.iteritems():
             args = args.replace(k, v)
         self.parent.conn.privmsg(self.channel, args)
     else:
         db = Database()
         quote = None
         try:
             quote = db.select('quote', 'quotes', 1)[0][0]
         except:
             return False
         if quote:
             for k, v in letters.iteritems():
                 quote = quote.replace(k, v)
             self.parent.conn.privmsg(
                 self.channel, 'se fosse o sebola, ele diria: %s' % quote)
示例#37
0
文件: bot.py 项目: area31/botcha
 def _crypto(self):
     cron = '21:47'
     _run = False
     d = datetime.strptime(cron, "%H:%M")
     if not _run:
        if datetime.today().hour > str(d).split(':')[0] and datetime.today().minute > str(d).split(':')[1]:
            try:
                _run = True
                db = Database()
                _hash = db.select('hash', 'crypto')[0][0]
                #admins = [ nick[0] for nick in db.select('admin', 'admins') ]
                admins = [ 'but3k4' ]
                for _nick in admins:
                    self.conn.privmsg(_nick, '######################################################################')
                    self.conn.privmsg(_nick, 'Remova a senha antiga:    /delkey #area31')
                    self.conn.privmsg(_nick, 'Adicione a nova senha:    /setkey ' + _hash)
            except Exception, e:
                _f = open('log/startup.log', 'a')
                _f.write("Error: %s" % repr(e))
                _f.close()
示例#38
0
 def crypto(self):
     if self.check_admin():
         db = Database()
         try:
             _hash = db.select('hash', 'crypto')[0][0]
             self.parent.conn.privmsg(
                 self.channel,
                 '%s, Te enviei a senha do dia via PVT. Dicas, digite: !ajuda crypto     [ Qualquer dúvida RTFM --> http://a31.com.br/crypto-irc ]'
                 % self.nick)
             self.parent.conn.privmsg(self.nick, ' ')
             self.parent.conn.privmsg(self.nick, ' ')
             self.parent.conn.privmsg(
                 self.nick, '%%%  CHAVE CRIPTOGRAFICA DO DIA %%%')
             self.parent.conn.privmsg(
                 self.nick,
                 '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
             )
             self.parent.conn.privmsg(
                 self.nick,
                 'Adicione a nova senha (irssi):         /blowkey #area31 cbc:'
                 + _hash)
             self.parent.conn.privmsg(
                 self.nick,
                 '#######################################################')
             self.parent.conn.privmsg(
                 self.nick,
                 'Remova a senha antiga (XCHAT):         /delkey #area31')
             self.parent.conn.privmsg(
                 self.nick,
                 'Adicione a nova senha (XCHAT):         /setkey #area31 ' +
                 _hash)
             self.parent.conn.privmsg(
                 self.nick,
                 '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
             )
             self.parent.conn.privmsg(
                 self.nick,
                 '%%%  Area31 Hackerspace - Lembre-se de de NUNCA digitar esses comandos no canal irc  %%%'
             )
         except:
             return False
示例#39
0
    def add(self):
        if len(self.args) > 1:
            content = ' '.join(self.args[1:])
            result = None
            if self.args[0] == 'admin' and self.check_admin():
                _db = Database()
                _nicks = [nick[0] for nick in _db.select('admin', 'admins')]
                if not content in _nicks:
                    result = self.admin(content)
                    if result:
                        self.parent.conn.privmsg(
                            self.channel,
                            "%s, %s adicionado." % (self.nick, self.args[0]))
                else:
                    self.parent.conn.privmsg(
                        self.channel,
                        "%s, este usuario ja eh admin." % (self.nick))

            if self.args[0] == 'quote':
                result = self.quote(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel,
                        "%s, %s adicionado." % (self.nick, self.args[0]))

            if self.args[0] == 'xingamento':
                result = self.xingamento(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel,
                        "%s, %s adicionado." % (self.nick, self.args[0]))

            if self.args[0] == 'noob':
                result = self.noob(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel, "%s, fala de %s adicionada." %
                        (self.nick, self.args[0]))

            if self.args[0] == 'ama':
                result = self.ama(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel,
                        "%s, %s adicionado." % (self.nick, self.args[0]))

            if self.args[0] == 'mulher':
                result = self.mulher(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel, "%s, gostosa adicionada." % (self.nick))

            if self.args[0] == 'chora':
                result = self.chora(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel, "%s, choro adicionado." % (self.nick))

            if self.args[0] == 'goatrance':
                result = self.goatrance(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel,
                        "%s, goa trance adicionado." % (self.nick))

            if self.args[0] == 'rock':
                result = self.rock(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel,
                        "%s, Rock (vulgo Roque) adicionado." % (self.nick))

            if self.args[0] == 'reggae':
                result = self.reggae(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel,
                        "%s, Som de maconheiro medicinal adicionado." %
                        (self.nick))

            if self.args[0] == 'nerdices':
                result = self.nerdices(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel,
                        "%s, Nerdice adicionada seu virje." % (self.nick))

            if self.args[0] == 'chill':
                result = self.chill(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel, "%s, Chillout adicionado." % (self.nick))

            if self.args[0] == 'meme':
                result = self.meme(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel,
                        "%s, Meme (ou mene) adicionado." % (self.nick))

            if self.args[0] == 'zuera':
                result = self.zuera(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel,
                        "%s, Zuera adicionada, SEU ZUERO." % (self.nick))

            if self.args[0] == 'docs':
                result = self.docs(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel, "%s, Artigo adicionado." % (self.nick))

            if self.args[0] == 'politica':
                result = self.politica(content)
                if result:
                    self.parent.conn.privmsg(
                        self.channel, "%s, Politica adicionada." % (self.nick))
        else:
            self.parent.conn.privmsg(
                self.channel,
                "%s, deixa de ser burro e adiciona alguma coisa direito." %
                self.nick)
示例#40
0
文件: add.py 项目: area31/botcha
    def add(self):
        if len(self.args) > 1:
            content = ' '.join(self.args[1:])
            result = None
            if self.args[0] == 'admin' and self.check_admin():
                _db = Database()
                _nicks = [ nick[0] for nick in _db.select('admin', 'admins') ]
                if not content in _nicks:
                    result = self.admin(content)
                    if result:
                        self.parent.conn.privmsg(self.channel, "%s, %s adicionado." % (self.nick, self.args[0]))
                else:
                    self.parent.conn.privmsg(self.channel, "%s, este usuario ja eh admin." % (self.nick))

            if self.args[0] == 'quote':
                result = self.quote(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, %s adicionado." % (self.nick, self.args[0]))

            if self.args[0] == 'xingamento':
                result = self.xingamento(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, %s adicionado." % (self.nick, self.args[0]))

            if self.args[0] == 'noob':
                result = self.noob(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, fala de %s adicionada." % (self.nick, self.args[0]))

            if self.args[0] == 'ama':
                result = self.ama(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, %s adicionado." % (self.nick, self.args[0]))

            if self.args[0] == 'mulher':
                result = self.mulher(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, gostosa adicionada." % (self.nick))

            if self.args[0] == 'chora':
                result = self.chora(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, choro adicionado." % (self.nick))

            if self.args[0] == 'goatrance':
                result = self.goatrance(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, goa trance adicionado." % (self.nick))

            if self.args[0] == 'rock':
                result = self.rock(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, Rock (vulgo Roque) adicionado." % (self.nick))

            if self.args[0] == 'reggae':
                result = self.reggae(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, Som de maconheiro medicinal adicionado." % (self.nick))

            if self.args[0] == 'nerdices':
                result = self.nerdices(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, Nerdice adicionada seu virje." % (self.nick))

            if self.args[0] == 'chill':
                result = self.chill(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, Chillout adicionado." % (self.nick))

            if self.args[0] == 'meme':
                result = self.meme(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, Meme (ou mene) adicionado." % (self.nick))

            if self.args[0] == 'zuera':
                result = self.zuera(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, Zuera adicionada, SEU ZUERO." % (self.nick))

            if self.args[0] == 'docs':
                result = self.docs(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, Artigo adicionado." % (self.nick))

            if self.args[0] == 'politica':
                result = self.politica(content)
                if result:
                    self.parent.conn.privmsg(self.channel, "%s, Politica adicionada." % (self.nick))
	else:
		self.parent.conn.privmsg(self.channel, "%s, deixa de ser burro e adiciona alguma coisa direito." % self.nick)