summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dist/assets/json/meme.json15
-rw-r--r--dist/assets/json/month.json2
-rw-r--r--dist/ws/favicon.icobin0 -> 19125 bytes
-rw-r--r--dist/ws/layouts/layout.hbs19
-rw-r--r--dist/ws/public/css/main.css116
-rw-r--r--dist/ws/views/error.hbs1
-rw-r--r--dist/ws/views/index.hbs1
-rw-r--r--package.json7
-rw-r--r--src/config.json2
9 files changed, 159 insertions, 4 deletions
diff --git a/dist/assets/json/meme.json b/dist/assets/json/meme.json
new file mode 100644
index 0000000..02687e0
--- /dev/null
+++ b/dist/assets/json/meme.json
@@ -0,0 +1,15 @@
+[
+ "memes",
+ "wholesomememes",
+ "tumblr",
+ "meirl",
+ "historymemes",
+ "animemes",
+ "programmerhumor",
+ "programmeranimemes",
+ "bikinibottomtwitter",
+ "prequelmemes",
+ "mothmemes",
+ "meme",
+ "PoliticalHumor"
+] \ No newline at end of file
diff --git a/dist/assets/json/month.json b/dist/assets/json/month.json
index 9f33ec7..d02be0a 100644
--- a/dist/assets/json/month.json
+++ b/dist/assets/json/month.json
@@ -11,4 +11,4 @@
"october",
"november",
"december"
-]
+] \ No newline at end of file
diff --git a/dist/ws/favicon.ico b/dist/ws/favicon.ico
new file mode 100644
index 0000000..7f426f3
--- /dev/null
+++ b/dist/ws/favicon.ico
Binary files differ
diff --git a/dist/ws/layouts/layout.hbs b/dist/ws/layouts/layout.hbs
new file mode 100644
index 0000000..844e9da
--- /dev/null
+++ b/dist/ws/layouts/layout.hbs
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>{{title}}</title>
+ <link rel="stylesheet" href="css/main.css">
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
+ </head>
+ <body>
+ <div title="Status: Online">
+ {{body}}
+ </div>
+
+ <div class="footer">
+ <p>Copyright &COPY; 2020 - <a href="https://cyne.cf">s1nical</a></p>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/dist/ws/public/css/main.css b/dist/ws/public/css/main.css
new file mode 100644
index 0000000..993c46a
--- /dev/null
+++ b/dist/ws/public/css/main.css
@@ -0,0 +1,116 @@
+@import url('https://fonts.googleapis.com/css?family=Fira+Mono:400');
+
+body {
+ display: flex;
+ width: 100vw;
+ height: 100vh;
+ align-items: center;
+ justify-content: center;
+ margin: 0;
+ background: #131313;
+ color: #fff;
+ font-size: 96px;
+ font-family: 'Fira Mono', monospace;
+ letter-spacing: -7px;
+}
+
+div {
+ animation: glitch 1s linear infinite;
+}
+
+@keyframes glitch {
+
+ 2%,
+ 64% {
+ transform: translate(2px, 0) skew(0deg);
+ }
+
+ 4%,
+ 60% {
+ transform: translate(-2px, 0) skew(0deg);
+ }
+
+ 62% {
+ transform: translate(0, 0) skew(5deg);
+ }
+}
+
+div:before,
+div:after {
+ content: attr(title);
+ position: absolute;
+ left: 0;
+}
+
+div:before {
+ animation: glitchTop 1s linear infinite;
+ clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
+ -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
+}
+
+@keyframes glitchTop {
+
+ 2%,
+ 64% {
+ transform: translate(2px, -2px);
+ }
+
+ 4%,
+ 60% {
+ transform: translate(-2px, 2px);
+ }
+
+ 62% {
+ transform: translate(13px, -1px) skew(-13deg);
+ }
+}
+
+div:after {
+ animation: glitchBotom 1.5s linear infinite;
+ clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
+ -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
+}
+
+@keyframes glitchBotom {
+
+ 2%,
+ 64% {
+ transform: translate(-2px, 0);
+ }
+
+ 4%,
+ 60% {
+ transform: translate(-2px, 0);
+ }
+
+ 62% {
+ transform: translate(-22px, 5px) skew(21deg);
+ }
+}
+
+#green {
+ color: #05ffa1
+}
+
+a {
+ color: white;
+ text-decoration: none;
+ transition: 0.5s;
+}
+
+a:hover {
+ color: rgb(223, 222, 222);
+ text-decoration: none;
+ transition: 0.5s;
+}
+
+.footer {
+ position: fixed;
+ left: 0;
+ bottom: 0;
+ width: 100%;
+ color: white;
+ text-align: center;
+ font-size: 15px;
+ letter-spacing: -1px;
+} \ No newline at end of file
diff --git a/dist/ws/views/error.hbs b/dist/ws/views/error.hbs
new file mode 100644
index 0000000..fe49573
--- /dev/null
+++ b/dist/ws/views/error.hbs
@@ -0,0 +1 @@
+Error: {{errtype}} \ No newline at end of file
diff --git a/dist/ws/views/index.hbs b/dist/ws/views/index.hbs
new file mode 100644
index 0000000..5253033
--- /dev/null
+++ b/dist/ws/views/index.hbs
@@ -0,0 +1 @@
+Status: Online \ No newline at end of file
diff --git a/package.json b/package.json
index 5a54aa7..a6bb409 100644
--- a/package.json
+++ b/package.json
@@ -1,10 +1,13 @@
{
"name": "package",
- "version": "9.2.0",
+ "version": "9.2.1",
"description": "A Discord bot that supports audio playback, fun commands, utilities, and soundsboard, and more to come!",
"main": "./dist/app.js",
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
+ "test": "echo \"Error: no test specified\" && exit 1",
+ "copy:assets": "cp -r 'src/assets/' 'dist/'",
+ "copy:ws": "cp -r 'src/ws/' 'dist/'",
+ "copy": "concurrently \"npm:copy:assets\" \"npm:copy:ws\""
},
"author": "sin",
"license": "MIT",
diff --git a/src/config.json b/src/config.json
index ea1c0e6..4a9aff1 100644
--- a/src/config.json
+++ b/src/config.json
@@ -1,7 +1,7 @@
{
"secret":"Njk5NDczMjYzOTk4MjcxNDg5.XpU5oQ.btZuxVudhNllSQY6CxrXXtMJm9A",
"yt-api-key":"AIzaSyCeG1lQAeInv4vjFv_eTL9IFAFNdQC9Nk8",
- "version":"9.2.0",
+ "version":"9.2.1",
"fortniteTrackerNetworkToken": "4cf21f95-5f1a-412a-b4a7-e5424adc314a",
"maxMultipler": 100,
"minMultipler": 1.01