예제 #1
0
파일: speedwalk.py 프로젝트: OSadovy/lyntin
def unswexclude_cmd(ses, args, input):
  """
  Allows you to remove swexcludes.

  category: commands
  """
  func = exported.get_manager("speedwalk").removeExcludes
  modutils.unsomething_helper(args, func, ses, "swexclude", "swexcludes")
예제 #2
0
def unvariable_cmd(ses, args, input):
  """
  Allows you to remove variables.

  category: commands
  """
  func = exported.get_manager("variable").removeVariables
  modutils.unsomething_helper(args, func, ses, "variable", "variables")
예제 #3
0
def unalias_cmd(ses, args, input):
  """
  Allows you to remove aliases.

  category: commands
  """
  func = exported.get_manager("alias").getAliasData(ses).removeAliases
  modutils.unsomething_helper(args, func, None, "alias", "aliases")
예제 #4
0
def unsubstitute_cmd(ses, args, input):
    """
  Allows you to remove substitutes.

  category: commands
  """
    func = exported.get_manager("substitute").removeSubstitutes
    modutils.unsomething_helper(args, func, ses, "substitute", "substitutes")
예제 #5
0
def unswexclude_cmd(ses, args, input):
    """
  Allows you to remove swexcludes.

  category: commands
  """
    func = exported.get_manager("speedwalk").removeExcludes
    modutils.unsomething_helper(args, func, ses, "swexclude", "swexcludes")
예제 #6
0
파일: alias.py 프로젝트: v-legoff/accertin
def unalias_cmd(ses, args, input):
  """
  Allows you to remove aliases.

  category: commands
  """
  func = exported.get_manager("alias").getAliasData(ses).removeAliases
  modutils.unsomething_helper(args, func, None, "alias", "aliases")
예제 #7
0
파일: variable.py 프로젝트: OSadovy/lyntin
def unvariable_cmd(ses, args, input):
    """
  Allows you to remove variables.

  category: commands
  """
    func = exported.get_manager("variable").removeVariables
    modutils.unsomething_helper(args, func, ses, "variable", "variables")
예제 #8
0
파일: substitute.py 프로젝트: avidal/lyntin
def unantisubstitute_cmd(ses, args, input):
  """
  Allows you to remove antisubstitutes.

  category: commands
  """
  func = exported.get_manager("substitute").removeAntiSubstitutes
  modutils.unsomething_helper(args, func, ses, "antisubstitute", "antisubstitutes")
예제 #9
0
def unhighlight_cmd(ses, args, input):
  """
  Allows you to remove highlights.

  examples:
    #highlight {hello}
    #highlight {blah*}

  category: commands
  """
  func = exported.get_manager("highlight").removeHighlights
  modutils.unsomething_helper(args, func, ses, "highlight", "highlights")
예제 #10
0
def ungag_cmd(ses, args, input):
    """
  Allows you to remove gags.

  category: commands
  """
    str = args["str"]
    quiet = args["quiet"]

    gm = exported.get_manager("gag")
    gd = gm.getGagData(ses)

    func = gd.removeGags
    modutils.unsomething_helper(args, func, None, "gag", "gags")
예제 #11
0
파일: gag.py 프로젝트: v-legoff/accertin
def ungag_cmd(ses, args, input):
  """
  Allows you to remove gags.

  category: commands
  """
  str = args["str"]
  quiet = args["quiet"]

  gm = exported.get_manager("gag")
  gd = gm.getGagData(ses)

  func = gd.removeGags
  modutils.unsomething_helper(args, func, None, "gag", "gags")
예제 #12
0
def unaction_cmd(ses, args, input):
    """
  Removes action(s) from the manager.

  examples:
    #unaction {missed you.}
    #unaction missed*
    #unaction tag={indoor}
    
  see also: action, enable, disable, atags

  category: commands
  """
    am = exported.get_manager("action")
    ad = am.getActionData(ses)
    func = lambda x: ad.removeActions(x, args["tag"])
    modutils.unsomething_helper(args, func, None, "action", "actions")
예제 #13
0
파일: action.py 프로젝트: OSadovy/lyntin
def unaction_cmd(ses, args, input):
  """
  Removes action(s) from the manager.

  examples:
    #unaction {missed you.}
    #unaction missed*
    #unaction tag={indoor}
    
  see also: action, enable, disable, atags

  category: commands
  """
  am = exported.get_manager("action")
  ad = am.getActionData(ses)
  func = lambda x: ad.removeActions(x, args["tag"])
  modutils.unsomething_helper(args, func, None, "action", "actions")