mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 13:01:39 +09:00
Fixed nil detail discord alerts
This commit is contained in:
@@ -282,7 +282,7 @@ Event.add(defines.events.on_console_command,function(event)
|
|||||||
description='/'..event.command..' was used',
|
description='/'..event.command..' was used',
|
||||||
color=Colors.grey,
|
color=Colors.grey,
|
||||||
['By:']='<inline>'..player_name,
|
['By:']='<inline>'..player_name,
|
||||||
['Details:']=event.parameters
|
['Details:'] = event.parameters ~= '' and event.parameters or nil
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user