Better logging
This commit is contained in:
@ -13,7 +13,7 @@ export default class MapListEvent extends BaseEvent {
|
|||||||
try {
|
try {
|
||||||
if (!(await this.isCharacterGM())) return
|
if (!(await this.isCharacterGM())) return
|
||||||
|
|
||||||
this.logger.info(`User ${(await this.getCharacter())!.getId()} has created a new map via map editor.`)
|
this.logger.info(`User ${(await this.getCharacter())!.getId()} has listed maps via map editor.`)
|
||||||
|
|
||||||
const mapRepository = new MapRepository()
|
const mapRepository = new MapRepository()
|
||||||
const maps = await mapRepository.getAll()
|
const maps = await mapRepository.getAll()
|
||||||
|
Reference in New Issue
Block a user