aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot.py')
-rw-r--r--bot.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/bot.py b/bot.py
index 6198bc4..3b45906 100644
--- a/bot.py
+++ b/bot.py
@@ -85,10 +85,7 @@ class FediLoginCallbackContext(CallbackContext[ExtBot, dict, dict, dict]):
85 85
86 86
87async def process_oauth_login_callback(update: FediLoginCallbackUpdate, context: FediLoginCallbackContext) -> None: 87async def process_oauth_login_callback(update: FediLoginCallbackUpdate, context: FediLoginCallbackContext) -> None:
88 combined_payloads = update.code 88 text = "Login success, your OAuth code is: {}".format(update.code)
89 text = "Login success, your code is: {}".format(combined_payloads)
90 print(text)
91 print(update.state)
92 await context.bot.send_message(chat_id=update.state, text=text) 89 await context.bot.send_message(chat_id=update.state, text=text)
93 90
94 91
Powered by cgit v1.2.3 (git 2.41.0)