Title: Callbacks on Windows doesn't work · Issue #114 · python-botogram/botogram · GitHub
Open Graph Title: Callbacks on Windows doesn't work · Issue #114 · python-botogram/botogram
X Title: Callbacks on Windows doesn't work · Issue #114 · python-botogram/botogram
Description: As many users have pointed out, callbacks on Windows doesn't work. Using the example code from the documentation: import botogram bot = botogram.create("YOUR-TOKEN") @bot.command("spam") def spam_command(chat, message, args): """Send a s...
Open Graph Description: As many users have pointed out, callbacks on Windows doesn't work. Using the example code from the documentation: import botogram bot = botogram.create("YOUR-TOKEN") @bot.command("spam") def spam_c...
X Description: As many users have pointed out, callbacks on Windows doesn't work. Using the example code from the documentation: import botogram bot = botogram.create("YOUR-TOKEN") @bot.command(&quo...
Opengraph URL: https://github.com/python-botogram/botogram/issues/114
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Callbacks on Windows doesn't work","articleBody":"As many users have pointed out, callbacks on Windows doesn't work.\r\nUsing the example code from the documentation:\r\n```python\r\nimport botogram\r\n\r\nbot = botogram.create(\"YOUR-TOKEN\")\r\n\r\n@bot.command(\"spam\")\r\ndef spam_command(chat, message, args):\r\n \"\"\"Send a spam message to this chat\"\"\"\r\n btns = botogram.Buttons()\r\n btns[0].callback(\"Delete this message\", \"delete\")\r\n \r\n chat.send(\"This is spam!\", attach=btns)\r\n \r\n@bot.callback(\"delete\")\r\ndef delete_callback(query, chat, message):\r\n message.delete()\r\n query.notify(\"Spam message deleted. Sorry!\")\r\n\r\nif __name__ == '__main__':\r\n bot.run()\r\n```\r\nthe bot sends the message, but when you click the button it does nothing. There're no errors or logs.\r\nEven using `bot.validate_callback = False` it doesn't work, same result.","author":{"url":"https://github.com/MarcoBuster","@type":"Person","name":"MarcoBuster"},"datePublished":"2019-03-03T19:04:07Z","url":"https://github.com/python-botogram/botogram/issues/114"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9bc9193e-fc2c-f0d8-cf25-623f306ff636 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82BC:1161B:21A9961:2EA056B:6AEC80FA |
| html-safe-nonce | 6e2711f839e379183b2f0d6dd98006872a9e5cff2250316420e907212ea97988 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkJDOjExNjFCOjIxQTk5NjE6MkVBMDU2Qjo2QUVDODBGQSIsInZpc2l0b3JfaWQiOiIyMzA3OTE2Mjg2MjEwNjM4MDc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 15a7329225b1f01b39b3733e5e80cff0d76de810ae21f40c67b9548f36afd054 |
| hovercard-subject-tag | issue:416550578 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-botogram/botogram/114/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b490d8cbdfe9fbab75551cbd5efbc005ffe4efd0af76c19a0ccb231952a1b3f/python-botogram/botogram/issues/114 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b490d8cbdfe9fbab75551cbd5efbc005ffe4efd0af76c19a0ccb231952a1b3f/python-botogram/botogram/issues/114 |
| og:image:alt | As many users have pointed out, callbacks on Windows doesn't work. Using the example code from the documentation: import botogram bot = botogram.create("YOUR-TOKEN") @bot.command("spam") def spam_c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MarcoBuster |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2bdf579c3278a003eb7fd86a77e2ed31e813bf4e18e5958458d2bdc3941566b0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-botogram/botogram git https://github.com/python-botogram/botogram.git |
| octolytics-dimension-user_id | 38258752 |
| octolytics-dimension-user_login | python-botogram |
| octolytics-dimension-repository_id | 38007898 |
| octolytics-dimension-repository_nwo | python-botogram/botogram |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38007898 |
| octolytics-dimension-repository_network_root_nwo | python-botogram/botogram |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 22d3a69d3307500eb5a7909970fc0d9a7735cb70 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width