We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ebe23c + c16d720 commit 0cae144Copy full SHA for 0cae144
2 files changed
pybot/__main__.py
@@ -17,6 +17,13 @@
17
VERSION = "0.1.0"
18
logger = logging.getLogger(__name__)
19
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
+
27
28
def make_sentry_logger():
29
client = raven.Client(
pybot/endpoints/airtable/utils.py
@@ -10,7 +10,6 @@
10
from pybot.endpoints.slack.utils import MENTOR_CHANNEL
11
from .message_templates.messages import claim_mentee_attachment, mentor_request_text
12
13
-
14
async def _get_requested_mentor(requested_mentor: Optional[str], slack: SlackAPI,
15
airtable: AirtableAPI) -> Optional[str]:
16
try:
0 commit comments