mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-19 14:43:36 -04:00
Example Bot is not working #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @martinbndr on GitHub (Mar 8, 2022).
Describe the bug
The default Bot example does not work. I installed everything like it has to be
To Reproduce
Expected behavior
!hello should force the bot to respond with "hi how are you"
Screenshots

Error:
Library version
Access this info via
pip show revolt.py0.1.6
Additional context
Add any other context about the problem here.
@justamirror commented on GitHub (Apr 20, 2022):
about this issue, its the same here, and i checked. somehow the "_get_channel_id" prop of the TextChannel is not a async function
message = await self.state.http.send_message(await self._get_channel_id(), content, embed_payload, attachments, reply_payload, masquerade_payload)
@justamirror commented on GitHub (Apr 20, 2022):
why does it use that anyway????? the _get_channel_id() function just returns self.id
@Zomatree commented on GitHub (Apr 20, 2022):
This is fixed on master already.
@justamirror commented on GitHub (Apr 20, 2022):
no it isnt?????
i literally JUST tried to update and its alllll up to date
@justamirror commented on GitHub (Apr 20, 2022):
unless my pip is being nuts
@justamirror commented on GitHub (Apr 20, 2022):
and of course
it doesnt work
the exact same error
@justamirror commented on GitHub (Apr 20, 2022):
ru SURE you pushed the change to pip
@justamirror commented on GitHub (Apr 20, 2022):
@Zomatree
@Zomatree commented on GitHub (Apr 20, 2022):
This is fixed on revolt.py@master, Its not in a release or on PyPi yet.