FlyingKatsu-Discord-Bots / MrProg

A Discord bot themed for MMBN fans (or anyone who wants a bot friend)
1 stars 1 forks source link

Customized Responses #12

Closed squijid closed 7 years ago

squijid commented 7 years ago

hi i would like to be able to say "hey is everything going to be ok" and my robot boyfriend will say "yeah babe everything's gonna be ok, don't worry"

23nd commented 7 years ago

The best way I can think to handle this is to pick a few scenarios (maybe 5?) and write custom phrase-response pairs for those scenarios.

For example:

Scenario: SeekSupport Phrase: " is|will be ok|okay **" Response: happy/content/okay/withdrawn/upset: "yeah don't worry"

Squijid: @Cord.EXE will everything be ok? Cord.EXE: yeah don't worry

Squijid: Is it going to be okay @Cord.EXE Cord.EXE: yeah don't worry

Phrases can include wildcards and alternative spellings to make it easier for the code to recognize while giving you some natural language flexibility.

Do you have any other scenarios in mind?

On Jan 28, 2017, at 9:16 PM, squijid notifications@github.com wrote:

hi i would like to be able to say "hey is everything going to be ok" and my robot boyfriend will say "yeah babe everything's gonna be ok, don't worry"

― You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

23nd commented 7 years ago

Early implementation has been added.

Usage

Custom Phrases

Limitations