mecha-karen / acord Goto Github PK
View Code? Open in Web Editor NEWAn API wrapper for discord, built using aiohttp and pydantic.
Home Page: https://acord.rtfd.io
License: GNU General Public License v3.0
An API wrapper for discord, built using aiohttp and pydantic.
Home Page: https://acord.rtfd.io
License: GNU General Public License v3.0
Line 308 in 494e892
should be awaited
Alright, so the logo is not that good. Why? Well, two shades of green that are slightly similar to each other are used in the logo. However, from afar, those shades of green sort of blend together into one shade of green.
Instead of using the same color but a different shade, consider using a color wheel thing to find two colors that fit well together.
Thank you!
When encoding voice an issue occurs either with PyNaCl or the Pyogg encoder.
New Ffmpeg player doesn't seem to cause this issue either as the PCM source it generated is perfectly fine and can easily be ran
Describe the bug
A clear and concise description of what the bug is.
Reproducible code
# Your code here
Here in examples/commander/commander.py
Full error message
Error raised
File "C:\Users\blzza\Downloads\acord\examples\commander\commander.py", line 147, in <module>
bot.run(token=...) # replace with test token
File "C:\Users\blzza\Downloads\acord\examples\commander\acord\client\client.py", line 678, in run
from acord.rest import RestApi
File "C:\Users\blzza\Downloads\acord\examples\commander\acord\rest\__init__.py", line 1, in <module>
from .rest import RestApi
File "C:\Users\blzza\Downloads\acord\examples\commander\acord\rest\rest.py", line 77, in <module>
class RestApi:
File "C:\Users\blzza\Downloads\acord\examples\commander\acord\rest\rest.py", line 137, in RestApi
loop: asyncio.AbstractEventLoop = asyncio.get_event_loop(),
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3312.0_x64__qbz5n2kfra8p0\lib\asyncio\events.py", line 642, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'MainThread'.
Expected behavior
A clear and concise description of what you expected to happen.
I expected the bot to run and slash cmds to work
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
While I understand that this is NOT related to this repository I was curious if there was a solution for this
Describe the bug
After OP 13 has been dispatched voice keep alive manager continues to send heartbeats
Reproducible code
channel = self.get_channel(913890363217965148)
m = await message.reply(content="Joining VC shortly")
await channel.join()
await m.edit(content="Joined VC")
await channel.leave()
await m.edit(content="Left VC")
# Monitor heartbeats in logs
Full error message
N/A
Expected behavior
Heartbeating should've stopped
Screenshots
If applicable, add screenshots to help explain your problem.
Enviroment (please complete the following information):
Additional context
Add any other context about the problem here.
Bro just update the model so that I can update my PR ;-;
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.