modbot.utilities.utilities.is_line_type

modbot.utilities.utilities.is_line_type(line_type, line)[source]

Check if line contains the requested signal

Parameters
  • line_type (str) – Signal type to check. e.g. msg, deleted, ban, etc

  • line (str) – String containing recent IRC message

Return type

bool