This project is now archived. Because of the latest update of the dogehouse API which changes a lot of things. And general issues with how the library was built.
I'd like to say thank you for all the positive support for this project. It was great while it lasted! ♥
& you are free to fork this repository to build out/release your own library.
This project gets continued in the dogegarden organisation @ https://github.com/dogegarden/dogehouse.py
You can find the documentation at dogehouse.arthurdw.com
pip install dogehouse
from dogehouse import DogeClient, event, command
from dogehouse.entities import Message
class Client(DogeClient):
@event
async def on_ready(self):
print(f"Successfully connected as {self.user}!")
await self.create_room("Hello World!")
@command
async def foo(self, ctx: Message):
await self.send("bar")
if __name__ == "__main__":
Client("YourToken", "YourRefreshToken", prefix="!").run()
- Go to https://dogehouse.tv
- Open Developer options (F12 or Ctrl+Shift+I)
- Go to Application > Local Storage > dogehouse.tv
- There lies your TOKEN and REFRESH_TOKEN