Any bot examples on Github using sapphire's fetch for 3rd party API endpoints?

Looking to rebuild basic Discord.js bot that only fetches API endpoints and posts embeds. Also adding slash commands.
Solution:
Discord bots that use @sapphire/[email protected] and leverage Application Commands and Interaction Handlers - Official Bot Examples ᴱ ᴰ ᴶˢ - Archangel ᴱ ᴰ...
Jump to solution
14 Replies
Favna
Favna3y ago
Sounds like you're looking to create an HTTP only bot, and therefore not use DiscordJS if that is the case I should forewarn you that HTTP only bots are an advanced bit of programming and not very beginner friendly
conr
conrOP3y ago
my bot just pulls from a couple APIs and creates pretty embeds. but slash commands with Interaction Handlers would be nice. oh i've already created a HTTP bot with Discord.js v13
Favna
Favna3y ago
DiscordJS doesn't do HTTP only bots. DiscordJS always connects to the gateway and ws If you are going to use DiscordJS then check the combination of the sapphire guide and discordjs guide and one of many of the sapphire bots
Spinel
Spinel3y ago
The guide for Sapphire and its many utilities, plugins and related libraries can be found on our website
Solution
Spinel
Spinel3y ago
Discord bots that use @sapphire/[email protected] and leverage Application Commands and Interaction Handlers - Official Bot Examples ᴱ ᴰ ᴶˢ - Archangel ᴱ ᴰ - Arima ᴱ - Dragonite ᴱ ᴰ - Nino ᴱ ᴰ - Operator ᴱ ᴬ ᴰ - Radon ᴱ ᴬ - Sapphire Application Commands Examples ᴱ - Spectera ᴬ Discord bots that use @sapphire/framework v2 - Materia ᴱ - RTByte ᴱ ᴬ - Skyra ᴬ ᴰ - YliasDiscordBot ᴬ : Uses ESM (if not specified then uses CJS) : Advanced bot (if not specified it is a simple bot, or not graded) : Uses Docker in production ᴶˢ: Written in JavaScript. If not specified then the bot is written in TypeScript.
conr
conrOP3y ago
when you say HTTP only, what does that mean?
Favna
Favna3y ago
Truth be told, if you need to ask just forget I said it. It's an advanced bit of coding that has some caveats but also allows very high performant bots. For example @Spinel and @Iriss are HTTP only bots. You'll notice they do not show as "online" unlike @Dragonite (which uses Sapphire and DiscordJS)
conr
conrOP3y ago
yeah i don't care if they show online/offline, just need on-demand commands that pull from an api. no db, no cron jobs, etc... is @Iriss just a renamed Skyra sourcecode?
kyra
kyra3y ago
No
Krish
Krish3y ago
a little too advance, there isn't any available utility packages for HTTP only bots, so I have to code each and everything
kyra
kyra3y ago
Not really, there are a bunch of utilities already
Krish
Krish3y ago
It seems i am unaware of it then
Favna
Favna3y ago
Off topic for this post
Krish
Krish3y ago
We can continue in #off-topic or #Coding
Want results from more Discord servers?
Add your server