1
1
mirror of https://gitlab.com/ceda_ei/Quadnite-Bot synced 2026-05-06 05:40:04 +02:00

Add commands/index.js. Add /insults, /kys, answer commands.

Add shrinkwrap.yaml.
This commit is contained in:
2019-02-12 01:53:32 +05:30
parent 2d7dc0ca02
commit 2b6837adb5
7 changed files with 111 additions and 1 deletions

View File

@@ -1,2 +1,5 @@
module.exports = (list = []) => (n = 1) =>
Array(n).fill(0).map(list[Math.floor(Math.random() * list.length)]);
Array(n)
.fill(0)
.map(() => list[Math.floor(Math.random() * list.length)])
.join("\n");