Better logging
This commit is contained in:
parent
4a55f47c06
commit
813ddbd8b1
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user