fiskenslakt / pzsd-bot

Discord bot for PZSD server
MIT License
2 stars 0 forks source link

Add command to create arbitrary bot triggers #7

Open fiskenslakt opened 5 months ago

fiskenslakt commented 5 months ago

I don't remember how this worked in slack, but at the very basic functionality you should be able to give it a word or phrase, and then some associated response. Then whenever the bot sees a message that matches the word or phrase for one of the triggers, it will send a message containing the associated response.

Perhaps the trigger itself could accept regex?

This command should probably only be able to be invoked by an admin.