🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

discord-application-emojis-manager

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

discord-application-emojis-manager

A NodeJS CLI to manage emojis for Discord Applications

unpublished
latest
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

Discord Application Emojis Manager

A NodeJS CLI to manage emojis for Discord Applications

GitHub npm

Support Server

Description

This is a NodeJS based script to manage emojis to the Discord API for Application Emojis. Discord allows you to assign 200 emojis to an application that can then be used across all servers by that application. Because it takes a lot of time to do this manually, this script was created to automate the process given an input directory.

Installation

You can use the following command to install this package, or replace npm install -D with your package manager of choice.

npm install -D @favware/discord-application-emojis-manager

Or install it globally:

npm install -g @favware/discord-application-emojis-manager

Then call the script with discord-application-emojis-manager or daem:

discord-application-emojis-manager <command> <args...> --token "your-discord-token" --application-id "your application id"
daem <command> <args...> --token "your-discord-token" --application-id "your application id"

Alternatively you can call the CLI directly with npx:

npx @favware/discord-application-emojis-manager <command> <args...> --token "your-discord-token" --application-id "your application id"

Usage

The first step is to specify the command to run. The available options are listed below.

[!NOTE]

For every command the --token and --application-id options are optional as they can also be provided through the environment variables DISCORD_TOKEN and APPLICATION_ID respectively.

Usage:  discord-application-emojis-manager [options] [command]

Options:
  -h, --help                         display help for command

Commands:
  delete [options] <nameOrId>        Deletes an emoji from the server
  delete-all [options]               Deletes all emoji from the server
  get [options] <nameOrId>           Gets a single emojis from the server in JSON format
  list [options]                     Lists all emojis from the server in JSON format
  patch [options] <nameOrId> <name>  Patches an emoji on the server provided the emoji id and a new name for the emoji
  post [options] <path>              Posts all emoji in the input directory to the server
  help [command]                     display help for command

delete

Usage:  discord-application-emojis-manager delete [options] <nameOrId>

Deletes an emoji from the server

Arguments:
  nameOrId                   The name or snowflake of the emoji to delete. If a name is provided a list of emojis will be fetched to find the id to delete.

Options:
  --token <string>           The token of your Discord bot to authenticate with. You can also provide this with the DISCORD_TOKEN environment variable. (default: "")
  --application-id <string>  The ID of the Discord application for which to manage the emojis. You can also provide this with the APPLICATION_ID environment variable. (default: "")
  -v, --verbose              Whether to print verbose information (default: false)
  -h, --help                 display help for command

delete-all

Usage:  discord-application-emojis-manager delete-all [options]

Deletes all emoji from the server

Options:
  --token <string>           The token of your Discord bot to authenticate with. You can also provide this with the DISCORD_TOKEN environment variable. (default: "")
  --application-id <string>  The ID of the Discord application for which to manage the emojis. You can also provide this with the APPLICATION_ID environment variable. (default: "")
  -v, --verbose              Whether to print verbose information (default: false)
  -h, --help                 display help for command

get

Usage:  discord-application-emojis-manager get [options] <nameOrId>

Gets a single emojis from the server in JSON format

Arguments:
  nameOrId                   The name or snowflake of the emoji to get. If a name is provided a list of emojis will be fetched to find the id to get.

Options:
  --token <string>           The token of your Discord bot to authenticate with. You can also provide this with the DISCORD_TOKEN environment variable. (default: "")
  --application-id <string>  The ID of the Discord application for which to manage the emojis. You can also provide this with the APPLICATION_ID environment variable. (default: "")
  -v, --verbose              Whether to print verbose information (default: false)
  -h, --help                 display help for command

list

Usage:  discord-application-emojis-manager list [options]

Lists all emojis from the server in JSON format

Options:
  --token <string>           The token of your Discord bot to authenticate with. You can also provide this with the DISCORD_TOKEN environment variable. (default: "")
  --application-id <string>  The ID of the Discord application for which to manage the emojis. You can also provide this with the APPLICATION_ID environment variable. (default: "")
  -v, --verbose              Whether to print verbose information (default: false)
  -h, --help                 display help for command

patch

Usage:  discord-application-emojis-manager patch [options] <nameOrId> <name>

Patches an emoji on the server provided the emoji id and a new name for the emoji

Arguments:
  nameOrId                   The name or snowflake of the emoji to update. If a name is provided a list of emojis will be fetched to find the id to update.
  name                       The new name for the emoji

Options:
  --token <string>           The token of your Discord bot to authenticate with. You can also provide this with the DISCORD_TOKEN environment variable. (default: "")
  --application-id <string>  The ID of the Discord application for which to manage the emojis. You can also provide this with the APPLICATION_ID environment variable. (default: "")
  -v, --verbose              Whether to print verbose information (default: false)
  -h, --help                 display help for command

post

Usage:  discord-application-emojis-manager post [options] <path>

Posts all emoji in the input directory to the server

Arguments:
  path                       The file path to the directory containing the emojis, can be relative to the current working directory or absolute.

Options:
  --token <string>           The token of your Discord bot to authenticate with. You can also provide this with the DISCORD_TOKEN environment variable. (default: "")
  --application-id <string>  The ID of the Discord application for which to manage the emojis. You can also provide this with the APPLICATION_ID environment variable. (default: "")
  -v, --verbose              Whether to print verbose information (default: false)
  -h, --help                 display help for command

Buy us some doughnuts

Favware projects are and always will be open source, even if we don't get donations. That being said, we know there are amazing people who may still want to donate just to show their appreciation. Thank you very much in advance!

We accept donations through Ko-fi, Paypal, Patreon, GitHub Sponsorships, and various cryptocurrencies. You can use the buttons below to donate through your method of choice.

Donate WithAddress
Ko-fiClick Here
PatreonClick Here
PayPalClick Here
GitHub SponsorsClick Here
Bitcoin1E643TNif2MTh75rugepmXuq35Tck4TnE5
Ethereum0xF653F666903cd8739030D2721bF01095896F5D6E
LiteCoinLZHvBkaJqKJRa8N7Dyu41Jd1PDBAofCik6

Contributors

Please make sure to read the Contributing Guide before making a pull request.

Thank you to all the people who already contributed to Sapphire!

contributors

FAQs

Package last updated on 28 Jul 2024

Did you know?

Socket

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.

Install

Related posts