Skip to content

Commit 2cdbe71

Browse files
Merge branch 'staging' into change_env_channels
2 parents 8201505 + c90b858 commit 2cdbe71

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

pybot/__main__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@
1717
VERSION = "0.1.0"
1818
logger = logging.getLogger(__name__)
1919

20+
slack_configs = {
21+
'token': os.environ.get('BOT_OATH_TOKEN'),
22+
'verify': os.environ.get('VERIFICATION_TOKEN'),
23+
'bot_id': os.environ.get('SLACK_BOT_ID'),
24+
'bot_user_id': os.environ.get('SLACK_BOT_ID'),
25+
}
26+
2027

2128
def make_sentry_logger():
2229
client = raven.Client(

pybot/endpoints/airtable/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from pybot.endpoints.slack.utils import MENTOR_CHANNEL
1111
from .message_templates.messages import claim_mentee_attachment, mentor_request_text
1212

13-
1413
async def _get_requested_mentor(requested_mentor: Optional[str], slack: SlackAPI,
1514
airtable: AirtableAPI) -> Optional[str]:
1615
try:

0 commit comments

Comments
 (0)