mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 14:07:16 +02:00
17 lines
357 B
Python
17 lines
357 B
Python
|
|
"""
|
||
|
|
This module stores session-level commands.
|
||
|
|
"""
|
||
|
|
from src.commands.cmdset import CmdSet
|
||
|
|
from src.commands.default import player
|
||
|
|
|
||
|
|
class SessionCmdSet(CmdSet):
|
||
|
|
"""
|
||
|
|
Sets up the unlogged cmdset.
|
||
|
|
"""
|
||
|
|
key = "DefaultSession"
|
||
|
|
priority = 0
|
||
|
|
|
||
|
|
def at_cmdset_creation(self):
|
||
|
|
"Populate the cmdset"
|
||
|
|
self.add(player.CmdSessions())
|