From c876138de2e962551cd03669b6ce29681a87a15c Mon Sep 17 00:00:00 2001
From: Matei Adriel <rafaeladriel11@gmail.com>
Date: Mon, 27 May 2019 21:07:48 +0300
Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 deploy.ts               | 5 ++++-
 types/random-emoji.d.ts | 7 ++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/deploy.ts b/deploy.ts
index 9d25cd7..cdd6a33 100644
--- a/deploy.ts
+++ b/deploy.ts
@@ -3,9 +3,12 @@ import { exec } from "child_process"
 import { random } from "random-emoji"
 
 const args = process.argv.splice(2)
+const randomEmoji = () => random({ count: 1 })[0].character
 
 const mFlag = ((args.indexOf("--message") + 1) || (args.indexOf("-m") + 1)) - 1
-const message = `${random({count: 1})} ${(mFlag) ? args[mFlag + 1] : "automated update"} ${random({count: 1})}`
+const message = `${randomEmoji()} 
+    ${(mFlag) ? args[mFlag + 1] : "automated update"} 
+    ${randomEmoji()}`
 
 console.log("Deploying...");
 
diff --git a/types/random-emoji.d.ts b/types/random-emoji.d.ts
index 2129602..f54db2b 100644
--- a/types/random-emoji.d.ts
+++ b/types/random-emoji.d.ts
@@ -1,4 +1,9 @@
 export function haiku(options: any): any;
 export function random(options: {
     count: number
-}): string;
+}): {
+    character: string,
+    name: string,
+    image: string,
+    imageSrc: string
+}[];