Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zingzy/discord-bot-animator
A script to add Animated Avatars and Banner Images to Discord Bots
https://github.com/zingzy/discord-bot-animator
animated-avatar animated-banner animated-gif bot discord discord-api discord-banner-changer discord-bot discord-bot-utils discord-js javascript nodejs script
Last synced: about 2 months ago
JSON representation
A script to add Animated Avatars and Banner Images to Discord Bots
- Host: GitHub
- URL: https://github.com/zingzy/discord-bot-animator
- Owner: Zingzy
- License: apache-2.0
- Created: 2024-03-19T13:49:05.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-19T14:09:34.000Z (10 months ago)
- Last Synced: 2024-03-19T15:34:07.604Z (10 months ago)
- Topics: animated-avatar, animated-banner, animated-gif, bot, discord, discord-api, discord-banner-changer, discord-bot, discord-bot-utils, discord-js, javascript, nodejs, script
- Language: JavaScript
- Homepage:
- Size: 11 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
---
Table of Contents
- [📌 Introduction](#-introduction)
- [**Discord Bot Animator** is a simple script which can apply animated avatar and banner to your discord bot. It uses `discord.js` to interact with the Discord API and change the bot's avatar and banner.](#discord-bot-animator-is-a-simple-script-which-can-apply-animated-avatar-and-banner-to-your-discord-bot-it-uses-discordjs-to-interact-with-the-discord-api-and-change-the-bots-avatar-and-banner)
- [✨ Features](#-features)
- [📚 Requirements](#-requirements)
- [📦 Installation](#-installation)
- [⚙️ Configuration](#️-configuration)
- [🚀 Usage](#-usage)
- [👀 Example](#-example)
- [⚠️ Warnings](#️-warnings)
- [💬 FAQs](#-faqs)
- [🔧 Contact \& Support](#-contact--support)---
## 📌 Introduction
### **Discord Bot Animator** is a simple script which can apply animated avatar and banner to your discord bot. It uses `discord.js` to interact with the Discord API and change the bot's avatar and banner.
## ✨ Features
- **Change Bot's Avatar**: Apply **animated** avatar to your bot's profile.
- **Change Bot's Banner**: Apply **animated** banner to your bot's profile.## 📚 Requirements
- **Node.js** (v16.6.0 or higher)
- **npm** (v7.20.3 or higher)
- **discord.js** (v14.1.0 or higher)## 📦 Installation
1. **Clone the repository**:
```bash
git clone https://github.com/zingzy/discord-bot-animator.git
```2. **Install the dependencies**:
```bash
npm install
```## ⚙️ Configuration
1. Open the `config.json` file and fill in the required fields:
```json
{
"token":"Your Bot Token",
"avatarPath":"Local Path of the Animated Avatar",
"bannerPath":"Local Path of the Animated Banner"
}
```- **token**: Your bot's token. You can get it from the [Discord Developer Portal](https://discord.com/developers/applications).
- **avatarPath**: Path of the animated avatar stored on your local machine. The file should be a `.gif` file **for the animation to work**. You can also use `.png`, `.jpg` or other standard image files **for static images**.
- **bannerPath**: Path of the animated banner stored on your local machine. The file should be a `.gif` file **for the animation to work**. You can also use `.png`, `.jpg` or other standard image files **for static images**.
> **Discord reccomends to use alreast a** `680x240` **image/gif for the banner**.
> **For Windows users, please ensure the path is formatted like this**: `C:\\Users\\Username\\\\.gif`. **Avoid using `/` in the path.**
> **For Linux and Mac users, the path should follow this format**: `/home/username//.gif`.
## 🚀 Usage
1. **Make sure that any other instance of your bot is not running.**
- This may cause conflicts and the changes may not be applied.
2. **Run the script**:
```bash
node main.js
```3. **Check your bot's profile**:
- **Open your bot's profile on Discord and you should see the new avatar and banner.**
- If the avatar and banner are not updated, **refresh your discord app** and **make sure that the paths in the** `config.json` **file are correct and the files are accessible**.
## 👀 Example
## ⚠️ Warnings
1. **Do not spam or abuse this script**
- **Discord has strict guidelines and policies regarding bot accounts**. Applying changes to the bot's avatar and banner too frequently may result in your bot being `rate-limited` or `banned` from Discord.
2. **Do not apply NSFW content**
- **Discord has strict guidelines and policies regarding NSFW content**. Applying NSFW content may result in your bot being directly `banned from Discord`.
## 💬 FAQs
1. **How to get the bot token?**
- You can get the bot token from the [Discord Developer Portal](https://discord.com/developers/applications).
2. **How to get the animated avatar and banner?**
- You can create your own animated avatar and banner using any image editing software like Adobe Photoshop, GIMP, etc. You can also find animated avatars and banners on the internet.
3. **Is this script safe to use?**
- **Yes, this script is safe to use**. It only interacts with the Discord API to change the bot's avatar and banner.
4. **Is it safe to share the bot token?**
- No, it is not safe to share the bot token with anyone. **Here the token is stored in the `config.json` file locally and is not shared with anyone**. You can take a look at the `main.js` file to see how the token is used. **It is also reccomended to clear the token from the `config.json` file after using the script.**
5. **Can I use this script to change my profile picture?**
- No, You cannot use this script to change your profile picture. This script is specifically designed to change the bot's avatar and banner.
6. **Can I apply NSFW avatars and banners?**
- No, you cannot apply NSFW avatars and banners. **Discord has strict guidelines and policies regarding NSFW content**. You can refer to the [Discord Community Guidelines](https://discord.com/guidelines) for more information. Applying NSFW content may result in your bot being banned from Discord.
7. **Is this completely free and discord TOS compliant?**
- Yes, this script is completely free and discord TOS compliant. **It does not violate any of the Discord's Terms of Service**. Discord recently added the feature to apply animated avatars and banners to bots. This script uses the same feature to apply the animated avatar and banner. You can refer to the [Discord Developer Documentation](https://discord.com/developers/docs) for more information.
## 🔧 Contact & Support
If you have any queries or suggestions, feel free to reach out to me on [Discord](https://discord.com/users/869458963954020433).
---
© zingzy . 2024All Rights Reserved