
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
discord-glitter
Advanced tools
🌠🎇 Animated text messages for your Discord server.
As one can imagine, this bot doesn't really work in practice since Discord rate-limits requests to its API. That said, it can yield some nice results for short animations with low frame rate.
Add Glitter to your npm project:
npm install --save discord-glitter
Create an index.js
file with the following contents:
const Glitter = require('discord-glitter');
const glitter = new Glitter({
token: 'your_secret_token',
//prefix: '@g', /* Custom prefix for bot commands. */
});
glitter.start();
Activate Glitter by sending a command !g
or !g <some string>
to any channel of your server. You can specify
animation types using !g|<type>
, the currently supported types are flash
and scan
. Example commands:
!g
!g Hello World
!g|scan Beep
!g|flash Boop
If you wanna try to add a custom animation, you'll need to clone this repo and extend
lib/frame-generator.js
. You will need to add a new key to AnimationTypes
object and
handle appropriate logic in generateFrames(...)
.
To run the test instance of the bot, copy test/config.example.json
, rename the copy to config.json
, input your token
and run test/standalone.test.js
.
FAQs
Animated text messages for your Discord
The npm package discord-glitter receives a total of 1 weekly downloads. As such, discord-glitter popularity was classified as not popular.
We found that discord-glitter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.