Using pycord as Discord API client as opposed to bot framework #2382
|
If I was to use pycord just as an API client as opposed to bot framework, what would be some good recommendations? How can I optimize it? I want to use it in simple one-time scripts (async/await is okay). I need no commands, events, websockets, endless loop. It's gonna start, do something, end. What would be the best way to setup pycord for such scenario? |
Answered by
NeloBlivion
Mar 4, 2024
Replies: 1 comment 3 replies
|
Our most simple construct is |
3 replies
Answer selected by
honzajavorek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our most simple construct is
discord.Client, but that still recieves events; Pycord isn't really built to support standalone requests. Your best bet would be to look through http.py and try authenticate it to run methods without going through Client, but we can't guarantee anything.