示例#1
0
 def unload(self, name, *plugins):
     '''Unloads the specified plugin. Example: !unload dice'''
     try:
         Plugin.unload(name, *plugins)
         return '{0} was successfully unloaded'.format(name)
     except KeyError:
         return 'No such plugin is currently loaded. Try !load {0}'.format(name)