package
0.0.0-20250103183519-5d391d309e22
Repository: https://github.com/volte6/gomud.git
Documentation: pkg.go.dev

# README

mobcommands

The mobcommands package defines a function type and contains all of the commands a user can enter.

type MobCommand func(rest string, mob *mobs.Mob, room *rooms.Room) (bool, error)

Note: See usercommands/README.md

Differences:

  • mobCommand instead of userCommands for registering commands
  • mobCommand entries do not specify AdminOnly