kyb3r / pycord Goto Github PK
View Code? Open in Web Editor NEWpycord - A discord api wrapper written in python!
License: MIT License
pycord - A discord api wrapper written in python!
License: MIT License
Random Idea of having webhook support where, webhook.run()
will trigger the webhook.
and using other things related to it, you can create a webhook 'object', with url, content, and maybe full support for webhook JSON body.
Line 37 in e9f56e7
TODO
comment in e9f56e7 when #10 was merged. cc @henry232323.For example:-
Command Trigger: !say hello and good morning | hi, nice to meet you
Bot Reply: hello and good morning 4JR, hi, nice to meet you!
Add support for |
and other separators!
I need help with finishing off event handling. It'd be greatly appreciated if you pitched in.
Example:
async def handle_message_create(self, data):
message = Message(self.client, data)
self.client.messages.add(message)
await self.client.emit('message', message)
So the basic format is to make a function f'handle_{event}'
and make an object based off the data received. After that just make changes to the client's storage and emit the event. All this happens in the EventHandler
class.
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.