Beispiel #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
Beispiel #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
Beispiel #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:'
     ]
Beispiel #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']
Beispiel #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']
Beispiel #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?']
Beispiel #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']
Beispiel #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']
Beispiel #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']
Beispiel #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']
Beispiel #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']
Beispiel #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']
Beispiel #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']
Beispiel #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']
Beispiel #15
0
	def __init__(self, context):
		CommandPlugin.__init__(self, context)
		global starttime
		starttime = datetime.datetime.now()
Beispiel #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']
Beispiel #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']
Beispiel #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']
Beispiel #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']
Beispiel #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']
Beispiel #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']
Beispiel #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']
Beispiel #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?']
Beispiel #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']
Beispiel #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']
Beispiel #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:']
Beispiel #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']
Beispiel #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']
Beispiel #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']