Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(29)  |  Call(29)  |  Derive(0)  |  Import(0)

src/f/s/fsiBot-HEAD/modules/RRouletteModule.py   fsiBot(Download)
			if len(self.revolver) != self.size and time.time() > self.lastShot + 60*60*2:
				self.revolver = self.reload()
				self.sendPublicMessage('Neues Glück: Trommel aus ' + str(self.size) + ' Männer-Bonbon-Fächern... Ein Bonbon ist drin und tödlich.')
 
			if self.revolver.pop() == 'bullet':
				line = 'Bang!! ' + nick + ' geht von uns wie ein echter Mann...'
				self.sendPublicMessage(line)
				self.kick(nick, line)
				self.revolver = self.reload()
				self.sendPublicMessage('Neues Glück: Trommel aus ' + str(self.size) + ' Männer-Bonbon-Fächern... Ein Bonbon ist drin und tödlich.')
 
			else:
				self.sendPublicMessage('*click* - ' + nick + ' ist ein Glückspilz. Nächster?')
			self.lastShot = time.time()
 

src/f/s/fsiBot-HEAD/modules/WeatherModule.py   fsiBot(Download)
				answer = 'Computer sagt: NEIN!'
				if type == 'public':
					self.sendPublicMessage(answer)
				else :
					self.sendPrivateMessage(nick, answer)
				return
			elif postalcode == 'mêlée island':
				answer = 'Dublonen, Dublonen!'
				if type == 'public':
					self.sendPublicMessage(answer)
					answer = 'Leck? welches Leck?'
					if type == 'public':
						self.sendPublicMessage(answer)
					else :
						self.sendPrivateMessage(nick, answer)
				answer = 'Leck? welches Leck?'
				if type == 'public':
					self.sendPublicMessage(answer)
				else :
					self.sendPrivateMessage(nick, answer)
				answer = 'Mr Cotton´s Papagei! Die selbe Frage!'
				if type == 'public':
					self.sendPublicMessage(answer)
				else :
					self.sendPrivateMessage(nick, answer)

src/f/s/fsiBot-HEAD/modules/MassiveSpamAttackModule.py   fsiBot(Download)
 
					msg += ": "
					self.sendPublicMessage("Von " + nick + " an " + msg)
					msg = ""
					for chunk in args[1::1]:
						msg += chunk + " "
 
					self.sendPublicMessage(msg)

src/f/s/fsiBot-HEAD/modules/LinkModule.py   fsiBot(Download)
					for i in matches:
						res += " " + i.group(1)
					self.sendPublicMessage(res)
				elif len(matches) == 1:
					self.sendPublicMessage(matches[0].group(2))
				else:
					self.sendPublicMessage("Kein Ergebnis für " + args[0])

src/f/s/fsiBot-HEAD/modules/TwitterModule.py   fsiBot(Download)
	def answer(self, type, nick, message):
		if type == 'public':
			self.sendPublicMessage(message)
		elif type == 'private':
			self.sendPrivateMessage(nick, message)

src/f/s/fsiBot-HEAD/modules/BeerModule.py   fsiBot(Download)
			if 6 < lt[3] < 16:
				line = "Kein Bier vor 4!"
				self.sendPublicMessage(line)
			else:
				schmack = random.choice(["leckeres", "wohltuendes", "wohlschmeckendes", "eisgekühltes", "lauwarmes", "abgestandenes", "schales"])

src/f/s/fsiBot-HEAD/modules/BulletinBoardModule.py   fsiBot(Download)
            for entry in entries:
                if entry['posted'] == False:
                    self.sendPublicMessage(parser.name + ' ' + entry['published'] + ': ' + entry['content'])
                    parser.posted(entry['id'])
 
    def answer(self, type, nick, message):
        if type == 'public':
            self.sendPublicMessage(message)
        elif type == 'private':
            self.sendPrivateMessage(nick, message)

src/f/s/fsiBot-HEAD/modules/PastebinModule.py   fsiBot(Download)
				self.sendPrivateMessage(nick, output)
			else:
				self.sendPublicMessage(output)
 
	def help(self, nick):

src/f/s/fsiBot-HEAD/modules/FortuneModule.py   fsiBot(Download)
				self.sendPrivateMessage(nick, output)
			else:
				self.sendPublicMessage(output)
 
	def help(self, nick):

src/f/s/fsiBot-HEAD/modules/DeiMuddaModule.py   fsiBot(Download)
				self.sendPrivateMessage(nick, line)
			else:
				self.sendPublicMessage(line)
 
	def help(self, nick):

  1 | 2  Next