nuclearGoblin / Dungeon-AI

A discord bot for running DCW
MIT License
1 stars 0 forks source link

Temporary Default Character Sheets #9

Open nuclearGoblin opened 1 month ago

nuclearGoblin commented 1 month ago

Allow users to temporarily alter their default character sheet for some set duration with something like a /latch char:name/id time:(optional,default 1day)duration command.

nuclearGoblin commented 3 weeks ago

I think this would effectively require a new database entry. It would be a column structured like the "defaults" column, but each entry is a tuple, with the first value being the sheet ID and the second being the timestamp at which to remove the latch.

However, this increases the overhead of each reference, since it'd first check if there's an entry in this column, and then if there is, it'd then check whether to remove it.