genbaneko
Version:
On-site cat on the console!
29 lines (28 loc) • 2.03 kB
JavaScript
import { say, think } from 'cowsayjs/lib/box';
export const genbaneko = () => {
console.log(' ∧ /ヽ\n // ̄ ̄\|\n ∠__╋__〉\n / ①八① \\n 工ニ f(_人_) エ |′\n \ ヽノ ノ ヘ \n ⊂⌒)_>―――イ (_) /\n `ー、_ノ/ ̄ヽ |/\n _|| | |\n ( 人_ノ Λ\n \ス ̄ ̄レ-Λ \\n ( ̄ ) / / \ノ\\n  ̄ ̄ ( ヽ \_)\n \ノ');
};
class mGenbaneko_class {
_genbaneko(action = '〇' || '\' || ' ') {
return (' ' +
action +
' ∧ /ヽ\n ' +
action +
' // ̄ ̄\|\n ' +
action +
' ∠__╋__〉\n ' +
action +
' / ①八① \\n 工ニ f(_人_) エ |′\n \ ヽノ ノ ヘ \n ⊂⌒)_>―――イ (_) /\n `ー、_ノ/ ̄ヽ |/\n _|| | |\n ( 人_ノ Λ\n \ス ̄ ̄レ-Λ \\n ( ̄ ) / / \ノ\\n  ̄ ̄ ( ヽ \_)\n \ノ');
}
think(message) {
console.log(think(message ? message : 'Yoshi!!') + this._genbaneko('〇'));
}
say(message) {
console.log(say(message ? message : 'Yoshi!!') + this._genbaneko('\'));
this._genbaneko();
}
normal() {
console.log(this._genbaneko(' '));
}
}
export const mGenbaneko = new mGenbaneko_class();