You are here

function slack_get_default_username in Slack 7

Same name and namespace in other branches
  1. 6 includes/slack.api.inc \slack_get_default_username()

Get default Slack bot username.

Return value

string Get default Slack bot username.

3 calls to slack_get_default_username()
slack_rules_send_message_action in ./slack.rules.inc
Rules action for sending a message to the Slack.
slack_send_message in includes/slack.api.inc
Send message to the Slack.
slack_tokens in ./slack.tokens.inc
Implements hook_tokens().

File

includes/slack.api.inc, line 181
Slack integration module API functions.

Code

function slack_get_default_username() {
  $username = variable_get('slack_username');
  return $username;
}