Not work lb #29

Closed
opened 2026-02-15 23:16:18 -05:00 by yindo · 2 comments
Owner

Originally created by @dimosikrus on GitHub (Jan 31, 2024).

image

import revolt
import asyncio

class Client(revolt.Client):
    async def on_message(self, message: revolt.Message):
        if message.content == "aa":
            await message.channel.send("hi how are you")
            return message

async def main():
    async with revolt.utils.client_session() as session:
        client = Client(session, "MY TOKEN HIDDEN")
        await client.start()

asyncio.run(main())

library not work

Originally created by @dimosikrus on GitHub (Jan 31, 2024). ![image](https://github.com/revoltchat/revolt.py/assets/30956599/44de4efc-0be4-4b92-a672-fbf2bd382016) ```py import revolt import asyncio class Client(revolt.Client): async def on_message(self, message: revolt.Message): if message.content == "aa": await message.channel.send("hi how are you") return message async def main(): async with revolt.utils.client_session() as session: client = Client(session, "MY TOKEN HIDDEN") await client.start() asyncio.run(main()) ``` library not work
yindo added the unconfirmed bug label 2026-02-15 23:16:18 -05:00
yindo closed this issue 2026-02-15 23:16:18 -05:00
Author
Owner

@lightgao commented on GitHub (Feb 19, 2024):

got same error

Screen Shot 2024-02-19 at 22 23 21
@lightgao commented on GitHub (Feb 19, 2024): got same error <img width="1006" alt="Screen Shot 2024-02-19 at 22 23 21" src="https://github.com/revoltchat/revolt.py/assets/1735905/24ba9945-a43d-4ae1-9dcc-6bbdd3660097">
Author
Owner

@Zomatree commented on GitHub (Feb 19, 2024):

Please use the github version of the library instead:

$ python -m pip install git+https://github.com/revoltchat/revolt.py
@Zomatree commented on GitHub (Feb 19, 2024): Please use the github version of the library instead: ```bash $ python -m pip install git+https://github.com/revoltchat/revolt.py ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/python-client-sdk#29