mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 22:47:16 +02:00
18 lines
371 B
Python
18 lines
371 B
Python
"""
|
|
This module stores session-level commands.
|
|
"""
|
|
from evennia.commands.cmdset import CmdSet
|
|
from evennia.commands.default import account
|
|
|
|
|
|
class SessionCmdSet(CmdSet):
|
|
"""
|
|
Sets up the unlogged cmdset.
|
|
"""
|
|
|
|
key = "DefaultSession"
|
|
priority = -20
|
|
|
|
def at_cmdset_creation(self):
|
|
"Populate the cmdset"
|
|
self.add(account.CmdSessions())
|