Source code for generating fake discord message screenshots using pillow and discord.py
git clone https://github.com/stzyx/SnapshotBot
cd SnapshotBot
- Python 3.8+
- Packages:
python -m pip install -r requirements.txt
- Extract font files:
IMPORTANT: unzip
unzip font.zip
font.zip
before running the bot. - Configure
config.py
with your bot token - Run the bot:
or
python bot.py
python3 bot.py
v!help
- Show help messagev!activate
- Activate the botv!deactivate
- Deactivate the botv!snap @user <message>
- Generate screenshot from text and user mentionv!bg <theme>
- Change background theme (midnight/white/dark)
You can change the prefix(v!) in config.py
# Bot Configuration
is_a_self_bot = False # Change this to True if you are using a self bot
# Bot Settings
default_background_color = "midnight" # midnight | white | dark
admin_id = 123456789123456789
default_status = "use v!help"
active_status = default_status
inactive_status = f"{default_status} [inactive]"
# Commands
prefix = "v!"
activation_command = prefix + "activate"
deactivation_command = prefix + "deactivate"
background_command = prefix + "bg"
snap_command = prefix + "snap"
# Bot Token
BOT_TOKEN = "YOUR_BOT_TOKEN_HERE"