mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 00:52:40 +00:00
Adv 2.0 L4f: render/twinbee reader-port off AdvCharacter to dndLevelForUser
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -80,7 +80,7 @@ func (p *AdventurePlugin) handleArenaMenu(ctx MessageContext) error {
|
||||
}
|
||||
|
||||
if !char.Alive {
|
||||
return p.SendDM(ctx.Sender, renderAdvDeathStatusDM(char))
|
||||
return p.SendDM(ctx.Sender, renderAdvDeathStatusDM(char.UserID))
|
||||
}
|
||||
|
||||
// Clear any pending entry when viewing menu
|
||||
@@ -156,7 +156,7 @@ func (p *AdventurePlugin) confirmAndStartArenaRun(ctx MessageContext) error {
|
||||
}
|
||||
|
||||
if !char.Alive {
|
||||
return p.SendDM(ctx.Sender, renderAdvDeathStatusDM(char))
|
||||
return p.SendDM(ctx.Sender, renderAdvDeathStatusDM(char.UserID))
|
||||
}
|
||||
|
||||
// Re-check active run (could have changed since entry prompt)
|
||||
|
||||
Reference in New Issue
Block a user