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
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
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:' ]
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']
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']
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?']
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']
def __init__(self, bot): CommandPlugin.__init__(self, bot) self.triggers = ['ping'] self.short_help = 'Pong!' self.help = self.short_help self.help_example = ['!ping']
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']
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']
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']
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']
def __init__(self, context): CommandPlugin.__init__(self, context) global starttime starttime = datetime.datetime.now()
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']
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']
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']
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']
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']
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']
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']
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:']
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']
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']