Discord bot to track someones avatar changes by downloading and reuploading them to a dedicated channel whenever it changes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
noirscape 346d0c2e13
Lower logging level
1 year ago
.gitignore Initial commit 1 year ago
README.md Initial commit 1 year ago
config.example.ini Initial commit 1 year ago
main.py Lower logging level 1 year ago
requirements.txt Initial commit 1 year ago

README.md

avatar-cloner

Discord bot to track someones avatar changes by downloading and reuploading them to a dedicated channel whenever it changes.

Usage

  • Fill out config.example.ini and rename it to config.ini (see below for config keys). Everything has to be filled out.
  • Install requirements.txt
  • Run the code with python main.py.

Caveat: The bot has to be able to see the users you're monitoring, otherwise their avatars can't be updated.

Caveat: The bot cannot track other bots. This is because they don't emit on_user_update events.

Config keys

Bot

  • token: Discord token for the bot
  • prefix: Prefix used for the commands
  • owner: User ID that "owns" the bot. The "owner" is the only user that can run commands on the bot.

Tracking

  • user: User ID(s) to watch. Can watch multiple IDs, separate IDs by spaces.
  • channel: Channel ID to send profile images to.

Commands

Note: [p] in the below commands is replaced with the bots prefix.

save_user

Example:

[p]save_user [ID]

Arguments

  • ID: User ID to save

Explanation

Saves the avatar ID that you pass in. Can be used to save current avatars or avatars from users the bot isn't tracking.

This command can be used to save bot avatars.

License

Copyright (c) 2019 Valentijn "noirscape" V.

All rights reserved. No warranty, explicit or implicit, provided.

Unauthorized copying of this file, via any medium is strictly prohibited.