moirairpg / moirai

RPG Discord bot powered by GPT models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implementation of DM assistance commands

thaalesalves opened this issue · comments

Summary

Useful commands to assist game masters/players drive the AIs context in the direction they want.0

Details

Discord's limited way of dealing with messages makes it hard to drive the AIs outputs into a direction that is generally more compatible with what we want. Commands for DM assistance would be useful because they would allow players to edit AI outputs either generally (right after output is generated) or specifically (by choosing which message exactly to edit). From then on, the content sent to the AI for future completions would be more compatible with the general idea of the story.

Features

Commands that could help drive the course of the story. Examples proposed

  • /codm generate: sends content to the AI as per usual, but after generation shows a modal with the AI's output so that the player is allowed to edit things out and modify it the way they want to
  • /codm edit <MESSAGE-ID>: to edit a specific message so that the future content sent to the AI is more compatible with what's expected
  • /codm retry: deletes the last output and generates a new one

We can discuss on both what other actions would be useful for this command, as well as the command name itself.

Updated the ticket to use /codm (Co-Dungeon Master) as the command instead.