Ejemplo n.º 1
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['help', 'h']
     self.help = 'Lookup information about bot commands'
     self.help_example = ['!help', '!help <command>']
     self.hidden = True
     self.dm_sender = True
Ejemplo n.º 2
0
	def __init__(self, context):
		CommandPlugin.__init__(self, context)
		self.file_name = "quotes.txt"
		self.quotes = []
		try:
			self.quotes = open(self.file_name, 'r+').readlines()
		except:
			pass
Ejemplo n.º 3
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['poll', 'vote']
     self.short_help = 'Create a poll'
     self.help = self.short_help
     self.help_example = [
         '!poll What are better, dogs or cats? :cat: :dog:'
     ]
Ejemplo n.º 4
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['playingmaps']
     self.short_help = 'Prints out currently playing maps on the Overcast Network'
     self.help = self.short_help
     self.help_example = ['!playingmaps']
Ejemplo n.º 5
0
 def __init__(self):
     CommandPlugin.__init__(self)
     self.triggers = ['player', 'stats']
     self.short_help = 'Lookup Overcast Network player stats'
     self.help = self.short_help
     self.help_example = ['!player Plastix', '!player bcbwilla']
Ejemplo n.º 6
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['8ball']
     self.short_help = 'Ask me a question'
     self.help = 'Ask me a question and I\'ll decide what the answer should be. Based on https://en.wikipedia.org/wiki/Magic_8-Ball'
     self.help_example = ['!8ball Is linux better than windows?']
Ejemplo n.º 7
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['coin', 'coinflip']
     self.short_help = 'Flip a coin'
     self.help = 'Flip a coin or number of coins'
     self.help_example = ['!coin', '!coinflip 5']
Ejemplo n.º 8
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['ping']
     self.short_help = 'Pong!'
     self.help = self.short_help
     self.help_example = ['!ping']
Ejemplo n.º 9
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['isup', 'isonline']
     self.short_help = 'Pings a website to check if it is online'
     self.help = self.short_help
     self.help_example = ['!isup google.com', '!isup oc.tc']
Ejemplo n.º 10
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['uptime']
     self.short_help = 'Prints out the uptime of the bot'
     self.help = self.short_help
     self.help_example = ['!uptime']
Ejemplo n.º 11
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['playingmaps']
     self.short_help = 'Prints out currently playing maps on the Overcast Network'
     self.help = self.short_help
     self.help_example = ['!playingmaps']
Ejemplo n.º 12
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['mcping', 'mcp']
     self.short_help = 'Ping a Minecraft server'
     self.help = self.short_help
     self.help_example = ['!mcping us.oc.tc', '!mcping example.org:1234']
Ejemplo n.º 13
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['uptime']
     self.short_help = 'Prints out the uptime of the bot'
     self.help = self.short_help
     self.help_example = ['!uptime']
Ejemplo n.º 14
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['mcskin', 'skin']
     self.short_help = 'Gets the skin for a Minecraft player'
     self.help = self.short_help
     self.help_example = ['!mcskin Plastix', '!skin Apple']
Ejemplo n.º 15
0
	def __init__(self, context):
		CommandPlugin.__init__(self, context)
		global starttime
		starttime = datetime.datetime.now()
Ejemplo n.º 16
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['mcskin', 'skin']
     self.short_help = 'Gets the skin for a Minecraft player'
     self.help = self.short_help
     self.help_example = ['!mcskin Plastix', '!skin Apple']
Ejemplo n.º 17
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['mchistory', 'mchis']
     self.short_help = 'Prints out username history of a Minecraft username'
     self.help = self.short_help
     self.help_example = ['!mchistory Apple', '!mchis Martin']
Ejemplo n.º 18
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['mojang', 'mcstatus']
     self.short_help = 'Prints the status of Mojang\'s services'
     self.help = self.short_help
     self.help_example = ['!mojang']
Ejemplo n.º 19
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['ver', 'version', 'about']
     self.short_help = 'Prints out version information about the bot'
     self.help = self.short_help
     self.help_example = ['!ver']
Ejemplo n.º 20
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['mcname']
     self.short_help = 'Checks whether a Minecraft username is available'
     self.help = self.short_help
     self.help_example = ['!mcname Plastix', '!mcname Apple']
Ejemplo n.º 21
0
 def __init__(self):
     CommandPlugin.__init__(self)
     self.triggers = ['echo']
     self.short_help = 'Repeat after me'
     self.help = 'Echos back whatever was said'
     self.help_example = ['!echo test']
Ejemplo n.º 22
0
 def __init__(self):
     CommandPlugin.__init__(self)
     self.triggers = ['mcname']
     self.short_help = 'Checks whether a Minecraft username is available'
     self.help = self.short_help
     self.help_example = ['!mcname Plastix', '!mcname Apple']
Ejemplo n.º 23
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['8ball']
     self.short_help = 'Ask me a question'
     self.help = 'Ask me a question and I\'ll decide what the answer should be. Based on https://en.wikipedia.org/wiki/Magic_8-Ball'
     self.help_example = ['!8ball Is linux better than windows?']
Ejemplo n.º 24
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['ver', 'version', 'about']
     self.short_help = 'Prints out version information about the bot'
     self.help = self.short_help
     self.help_example = ['!ver']
Ejemplo n.º 25
0
 def __init__(self):
     CommandPlugin.__init__(self)
     self.triggers = ['mojang', 'mcstatus']
     self.short_help = 'Prints the status of Mojang\'s services'
     self.help = self.short_help
     self.help_example = ['!mojang']
Ejemplo n.º 26
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['poll', 'vote']
     self.short_help = 'Create a poll'
     self.help = self.short_help
     self.help_example = ['!poll What are better, dogs or cats? :cat: :dog:']
Ejemplo n.º 27
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['echo']
     self.short_help = 'Repeat after me'
     self.help = 'Echos back whatever was said'
     self.help_example = ['!echo test']
Ejemplo n.º 28
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['mcping', 'mcp']
     self.short_help = 'Ping a Minecraft server'
     self.help = self.short_help
     self.help_example = ['!mcping us.oc.tc', '!mcping example.org:1234']
Ejemplo n.º 29
0
 def __init__(self, bot):
     CommandPlugin.__init__(self, bot)
     self.triggers = ['player', 'stats']
     self.short_help = 'Lookup Overcast Network player stats'
     self.help = self.short_help
     self.help_example = ['!player Plastix', '!player bcbwilla']