Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 958 Bytes

File metadata and controls

21 lines (14 loc) · 958 Bytes

Animated Avatar Discord Bot

This script updates the avatar of a Discord bot. It uses the fs, node-fetch, and readline modules.

Dependencies

  • fs: This module is used to interact with the file system in your machine. In this script, it's used to read the avatar file.
  • node-fetch: This module is used to make HTTP requests. It's used to send a PATCH request to the Discord API to update the bot's avatar.
  • readline: This module is used to read input from the console. It's used to get the bot token from the user.

How to Use

  1. Make sure you have Node.js installed on your machine.
  2. Install the dependencies by running npm install fs node-fetch readline.
  3. make sure to name it avatar.gif ( unless you know what your doing )
  4. Run the script using node index.js.
  5. When prompted, enter your Discord bot token.

Functionality

Designed to update your bot avatar with any GIF ( this was made when it first came out ) .