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? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Our most simple construct is |
Beta Was this translation helpful? Give feedback.
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.