This bot is designed to playfully prank a friend on Discord by automatically changing their nickname at set intervals. The list of nicknames to cycle through is loaded from a JSON file, allowing for creative and potentially embarrassing possibilities.
- Automated Pranks: Periodically changes the nickname of a targeted Discord user, keeping them on their toes.
- Customizable Nickname List: Manages the list of nicknames to use from a
nicks.jsonfile, allowing for personalized and hilarious options. - Adjustable Prank Frequency: Allows customization of the nickname change interval, controlling the intensity of the prank.
-
Install Required Libraries:
pip install discord
-
Configure Bot Token and Target:
- Replace
YOUR_DISCORD_BOT_TOKENwith your bot's token. - Replace
GUILD_IDwith the ID of the server where the prank will take place. - Replace
TARGET_USER_IDwith the ID of your unsuspecting friend (the target of the prank). - Set
INTERVALto the desired nickname change interval in seconds (shorter intervals = more chaos).
- Replace
-
Craft the Perfect Nickname List:
- Create a file named
nicks.jsonand populate it with a JSON array of funny, embarrassing, or inside-joke nicknames. Example:["Goofy Gus", "Chicken Nugget", "Lord of the Lag", "The One Who Always Gets Pranked"]
- Create a file named
-
Unleash the Bot (and the Laughter):
python your_bot_file.py
- The bot requires the "Manage Nicknames" permission in the server to change nicknames.
- The bot's role must be higher than the role of the user being pranked.
- The bot cannot change the nickname of the server owner (even if they're a good sport).
- Ensure that the
nicks.jsonfile is in the same directory as the Python code. - Respect Discord API rate limits when setting the nickname change interval (too fast might get your bot in trouble).
- Check the logs for any errors that may occur during operation.
- Most importantly: Use this bot responsibly and only prank friends who will find it funny. Avoid anything offensive or hurtful. Good pranks are about laughter, not negativity.
[
"Sir Stumbles-a-Lot",
"Queen of the Typo",
"The Master of Dad Jokes",
"The Face That Launched a Thousand Memes"
]This bot provides a lighthearted way to add some fun and playful chaos to your Discord server. Use it wisely, and may the pranks be ever in your favor!