pyrevolt / pyrevolt Goto Github PK
View Code? Open in Web Editor NEWA Python library to wrap the Revolt API, made to be easy-to-use but powerful and feature rich
Home Page: https://pyrevolt.readthedocs.io/
License: MIT License
A Python library to wrap the Revolt API, made to be easy-to-use but powerful and feature rich
Home Page: https://pyrevolt.readthedocs.io/
License: MIT License
Allow editing of permissions (both accept and deny) through the API:
https://developers.revolt.chat/api/#tag/Channel-Permissions
https://developers.revolt.chat/api/#tag/Server-Permissions
Finish event dispatching for:
When writing this code, the documentation should be cross-checked to ensure these events are up-to-date and no new events have been added.
A bot object should be able to receive from a session and dispatch to a function depending on a commands decorator. This should be done without user intervention where possible.
The HTTP Client should prepare for handling rate limits correctly and queuing them appropriately when approaching the published rate-limit for that bucket.
https://developers.revolt.chat/stack/delta/rate_limits
lmao spaghetti code
dosent even work
i couldnt even fix it
thats how shit ur libary is
Create documentation for:
For example:
These needs to check if the bot has permission (likely after a failed request) and emit an exception if this happens.
Any server, channel and user have icons, including the bot. These icons need to be dealt with correctly in accordance with the API and allow for their relative management through code.
Blocked by: revoltchat/revolt#322
When API 0.5.3 is released, the following changes need to be made:
content
to be nullable
system
)system
parameter cannot be sentAllow users to create, fetch and delete invites via the API:
https://developers.revolt.chat/api/#tag/Invites
File "/home/kiefciman/scripts/cowwy-revolt/cowwy.py", line 24, in <module>
bot.Run(token="...")
File "/home/kiefciman/.local/lib/python3.11/site-packages/pyrevolt/bot.py", line 93, in Run
asyncio.run(runner())
File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/kiefciman/.local/lib/python3.11/site-packages/pyrevolt/bot.py", line 91, in runner
await self.Start(**kwargs)
File "/home/kiefciman/.local/lib/python3.11/site-packages/pyrevolt/bot.py", line 76, in Start
data: dict = await self.session.GatewayReceive()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kiefciman/.local/lib/python3.11/site-packages/pyrevolt/session.py", line 206, in GatewayReceive
return await self.ProcessGateway(await self.gateway.Receive())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kiefciman/.local/lib/python3.11/site-packages/pyrevolt/session.py", line 202, in ProcessGateway
await data["type"].dispatch(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'dispatch'
A object which create a connection between a user and a server
Implement object to ServerMemberUpdate event
Likely due to the repository move to pyrevolt organisation
Allow users to create a new group, add and remove members from groups:
https://developers.revolt.chat/api/#operation/group_create_req
https://developers.revolt.chat/api/#operation/group_add_member_req
https://developers.revolt.chat/api/#operation/group_remove_member_req
Allow users to create server channels and edit server members:
https://developers.revolt.chat/api/#operation/channel_create_req
https://developers.revolt.chat/api/#operation/member_edit_req
Allow messages to have file attachments in accordance with the API (https://developers.revolt.chat/api/#operation/message_send_message_send)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.