refactor(informer): 🚚 proper name to block info function
Be more specific: `block` instead of `info`. In anticipation of future functions in this module.
This commit is contained in:
parent
96214ffe37
commit
6b71de0356
|
@ -2,7 +2,7 @@ let cfg
|
|||
let bot
|
||||
let mcData
|
||||
|
||||
function info() {
|
||||
function block() {
|
||||
const block = bot.blockAtCursor()
|
||||
console.log(block)
|
||||
cfg.quiet || bot.chat([block.type, block.name].join(": "))
|
||||
|
@ -19,4 +19,4 @@ const load = (config) => {
|
|||
|
||||
const unload = () => {}
|
||||
|
||||
module.exports = { load, unload, info }
|
||||
module.exports = { load, unload, block }
|
Loading…
Reference in New Issue
Block a user