1
0
Fork 0
mirror of https://github.com/kou029w/daraz-san.git synced 2025-01-18 08:05:04 +00:00

fix: syntax error

This commit is contained in:
Nebel 2020-03-26 15:30:31 +09:00
parent dce2f9ad05
commit 8eed6b2f0a

View file

@ -1,3 +1,4 @@
// @ts-check
const random = require("./util/random");
const nyanco = require("./util/nyanco");
@ -26,9 +27,10 @@ const patterns = [
[
/(カレー|かれー|華麗)/,
({ say }) => say("https://pbs.twimg.com/media/C-RVt9pUAAARRVe.jpg")
][
(/(すし|鮨|寿司|スシ|まぐろ|マグロ|sushi)/i,
({ say }) => say(`${nyanco()} < あいよ っ :sushi:`))
],
[
/(すし|鮨|寿司|スシ|まぐろ|マグロ|sushi)/i,
({ say }) => say(`${nyanco()} < あいよ っ :sushi:`)
],
[/ちゃ|茶/, ({ say }) => say(`お茶どぞー < ${nyanco()}っ :tea:`)],
[