Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Str Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str ListLoad Str BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Str Str Str Str Str NameLoad If CompareEq NameLoad Str body Assign NameStore ListLoad SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Return TupleLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call NameLoad NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Str Dict Str NameLoad Assign NameStore ListLoad Str Str If BoolOpAnd NameLoad CompareIn NameLoad NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad orelse If CompareIn NameLoad ListLoad Str Str body Pass orelse Assign NameStore TupleLoad Call AttributeLoad Str attr NameLoad Str Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd NameLoad CompareNotEq NameLoad Str body Assign NameStore IfExp UnaryOpNot NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str keyword NameLoad If UnaryOpNot BoolOpOr NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Num orelse Assign NameStore NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str Assign NameStore Call AttributeLoad Str attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr NameLoad orelse Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Dict Str Str Str Str Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num NameLoad NameLoad NameLoad ListLoad Dict Str Str Str Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body If CompareGt Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore BinOpAdd Call AttributeLoad Str attr Call NameLoad NameLoad Call NameLoad NameLoad Str orelse Assign NameStore Str Return TupleLoad NameLoad NameLoad orelse Return TupleLoad Str Str decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Return Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index Num If CompareNotIn NameLoad NameLoad body Assign NameStore BinOpAdd Str Str Return NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Dict Str Str Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse Return NameLoad decorator_list
N/A N/A {
    "title": "alerts <argument>",
    "text": "The `list` argument will display the open alerts. For instructions on how to use this, type `sdbot alerts help`.",
    "mrkdwn_in": ["text"],
    "color": "#3EB891"
} N/A re N/A time N/A json serverdensity.wrapper Device serverdensity.wrapper Service serverdensity.wrapper Alert limbo.plugins.common.basewrapper BaseWrapper N/A COMMANDS N/A list help N/A COLOR #3EB891 Wrapper N/A BaseWrapper N/A __init__ N/A N/A self msg server N/A N/A N/A N/A N/A N/A super Wrapper self __init__ msg server N/A N/A self alert N/A Alert N/A self token N/A N/A self device N/A Device N/A self token N/A N/A self service N/A Service N/A self token N/A results_of N/A N/A self command typeof name N/A N/A N/A N/A N/A typeof help N/A command help N/A N/A result N/A N/A self extra_help command N/A N/A N/A command list N/A N/A result N/A N/A self list_alerts command typeof name N/A result N/A extra_help N/A N/A self command N/A N/A N/A help_command N/A list N/A title mrkdwn_in text color List Open Alerts N/A text N/A N/A N/A N/A N/A The full command for alerts is `sdbot alerts list  <type> <name>`, where `type` is either the word `device` , `service` or `group`. The argument `name` corresponds to the  name of that entity. Both `type` and `name` are optional. If  none is used I will give you 5 alerts by default.  If you want all alerts write, type `sdbot alerts list all`. COLOR N/A N/A command list N/A N/A helptext N/A N/A help_command N/A list N/A N/A N/A command help N/A N/A helptext N/A attachment N/A attachment N/A N/A help_command values N/A N/A helptext N/A _is_mongoId N/A N/A self _id N/A N/A N/A N/A N/A len _id 24 N/A N/A True N/A False N/A list_alerts N/A N/A self command typeof name N/A N/A N/A params N/A filter N/A fixed False N/A valid N/A service device N/A N/A typeof N/A typeof valid N/A N/A N/A N/A params N/A filter N/A config.subjectType typeof N/A N/A N/A typeof group N/A N/A N/A N/A params N/A filter N/A subjectGroup name N/A N/A N/A typeof N/A all N/A N/A N/A N/A text N/A N/A N/A Instead of `{}` you should have used `group`, `service`, `device` or `all` format typeof N/A text N/A services N/A N/A N/A self service list N/A devices N/A N/A N/A self device list N/A N/A name N/A typeof group N/A N/A _id N/A N/A name name N/A N/A self find_id name services devices N/A N/A N/A params N/A filter N/A config.subjectId _id N/A results N/A N/A N/A self alert triggered params params N/A alerts N/A sorted results key N/A N/A N/A alert N/A N/A N/A N/A alert N/A config N/A lastTriggeredAt N/A sec reverse True N/A N/A N/A typeof name N/A N/A stripped_alerts N/A alerts N/A 5 N/A N/A stripped_alerts alerts N/A open_alerts N/A N/A alert stripped_alerts N/A N/A field N/A N/A N/A N/A alert N/A config N/A fullName split  >  N/A comparison N/A N/A N/A alert N/A config get fullComparison N/A value N/A N/A {}{} format N/A N/A N/A alert N/A config get value N/A N/A N/A alert N/A config get units N/A group N/A N/A N/A alert N/A config get group Ungrouped N/A triggered_time N/A N/A time localtime N/A N/A N/A alert N/A config N/A lastTriggeredAt N/A sec N/A _id N/A N/A alert N/A config N/A subjectId N/A N/A N/A self _is_mongoId _id N/A N/A name N/A N/A self find_name _id services devices N/A name N/A N/A {}: {} format N/A N/A N/A N/A alert N/A config N/A subjectType title name N/A N/A name N/A N/A Group: {} format _id N/A attachment N/A title text color fields N/A N/A {} format name N/A N/A {} {} {} format N/A field N/A 1 comparison value COLOR N/A N/A title value Last triggered N/A N/A time strftime %Y-%m-%d, %H:%M:%S triggered_time N/A N/A N/A open_alerts append attachment N/A open_alerts N/A N/A N/A N/A len alerts N/A len stripped_alerts N/A N/A message N/A N/A N/A You have {} open alerts but I'm only showing the last {}, format N/A len alerts N/A len stripped_alerts  do `list open alerts all` to see all of them N/A N/A message Chop chop, you'd better sort out these open alerts soon N/A N/A open_alerts message N/A N/A N/A I could not find any open alerts for you. N/A N/A on_message N/A N/A msg server N/A N/A N/A text N/A N/A msg get text N/A text N/A N/A Wrapper clean_parsing text N/A match N/A N/A re findall ^[sS][dD][bB]ot alerts (\b\w+\b)\s?(\b\w+\b)?\s?(\b\w+\b)? text N/A N/A match N/A N/A N/A N/A command typeof name N/A match N/A 0 N/A N/A command COMMANDS N/A N/A text N/A I'm sorry, but couldn't quite understand you there, perhaps  you could try `list`, use `sdbot list help` to get more info. N/A text N/A api N/A Wrapper msg server N/A N/A results message N/A N/A api results_of command typeof name N/A N/A isinstance results list N/A N/A kwargs N/A attachments text N/A N/A json dumps results message N/A N/A N/A N/A server slack post_message N/A msg N/A channel as_user N/A N/A N/A server slack server username kwargs N/A N/A results N/A