ytturi / MortDeGana_Bot

Bot for Fun
MIT License
5 stars 6 forks source link

Add new /insult username command that insults a user with a random insult. Basically append all the text after the `/insult` before the actual insult. #43

Open ytturi opened 3 years ago

ytturi commented 3 years ago

Add an optional parameter to the insult handler so that we can target them. Basically we want to append all the text that is provided to the handler before the replied text:

# When extra text is provided
f'{extra_text}, ets un {insult}'
# Otherwise
f'Ets un {insult}'