To set up the bot, first open your command line in the discord bots folder then run this:
pip install -r requirements.txt
now open bot.py and change the guild_id to your server id and change the token to your discord bots token and change the mod variable with the role id of the role you want to alow to use this cmd. now invite your bot to your server with admin permissions then there you have it!
/purge amount: [amount]
this bot only purges an amount thats within a span of 14 days (not my choice, discord api's choice)