Apps / Utils
This category is where DisFuse talks to the world outside Discord: other websites, other platforms, and the drawing tools that let your bot generate its own images.
The subcategories
| Page | What it does |
|---|---|
| Scratch | Reads public profile information from Scratch |
| Roblox | Reads public information about Roblox users, groups, games and items, and talks to your own game |
| Minecraft | Reads public Minecraft accounts and live server status, and alerts when a server goes up or down |
| YouTube | Reads videos and channels, and notifies about new uploads and livestreams |
| Reads posts, comments, subreddits and users, feeds new posts, and posts as your account | |
| Twitch | Checks live streams, notifies when a channel goes live, and reads channels, videos and clips |
| Kick | Reads Kick channels and streams, and notifies when a channel goes live |
| X (Twitter) | Reads public posts and profiles, notifies about new posts, and posts as your account |
| Reads your account and posts, publishes photos, reels and stories, and manages comments | |
| TikTok | Checks accounts, reads your videos, notifies about new ones, and uploads videos |
| Bluesky | Reads public posts and profiles, notifies about new posts, and posts and reacts as your account |
| GitHub | Reads GitHub users, repositories, issues and more, and acts as your account with a token |
| WebSockets | Keeps a live connection to a server, or runs your own server for websites and apps |
| Captcha | Generates a captcha image for verification |
| Fetch | Sends a request to any web API |
| Canvas | Draws images your bot can send |
When to use Fetch instead
Scratch, Roblox, Minecraft, YouTube, Reddit, Twitch, Kick, X, Instagram, TikTok, Bluesky and GitHub have their own blocks because they come up often. For anything else, Fetch can talk to any API that speaks HTTP, which is nearly all of them. If you want weather, currency rates, a random cat picture or your own web service, Fetch is the block.
These blocks are slow
Every block in this category except Canvas goes over the network. That takes time, sometimes a second or more.
Two consequences:
- Use
defer replybefore any of them in an interaction, or you will hit Discord's 3 second limit. See Buttons. - Wrap them in a
tryblock from JavaScript. A service being down should not take a command down with it.