modbot.utilities.utilities.is_user_type_irc

modbot.utilities.utilities.is_user_type_irc(user_type, line)[source]

Check if user has requested role

Parameters
  • user_type (str) – User role to check. e.g. sub, mod, partner, etc

  • line (str) – Line to check for requested role

Return type

bool