From 09e243bfa91d6606657461569cbde2c04f5d2725 Mon Sep 17 00:00:00 2001 From: Astoria Floyd Date: Fri, 6 Aug 2021 18:39:33 -0500 Subject: [PATCH] Fixes --- .vscode/settings.json | 6 -- discordia.log | 203 ------------------------------------------ gateway.json | 2 +- rng.lua | 9 +- 4 files changed, 6 insertions(+), 214 deletions(-) delete mode 100644 .vscode/settings.json delete mode 100644 discordia.log diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 45e34fe..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Lua.diagnostics.globals": [ - "messagepart2", - "messagePart2" - ] -} \ No newline at end of file diff --git a/discordia.log b/discordia.log deleted file mode 100644 index 16dadde..0000000 --- a/discordia.log +++ /dev/null @@ -1,203 +0,0 @@ -2021-08-06 16:31:09 | [INFO] | Discordia 2.9.1 -2021-08-06 16:31:09 | [INFO] | Connecting to Discord... -2021-08-06 16:31:10 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:31:10 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:31:10 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:31:10 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:31:10 | [INFO] | Shard 0 : Received READY -2021-08-06 16:32:28 | [INFO] | Discordia 2.9.1 -2021-08-06 16:32:28 | [INFO] | Connecting to Discord... -2021-08-06 16:32:28 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:32:28 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:32:29 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:32:29 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:32:29 | [INFO] | Shard 0 : Received READY -2021-08-06 16:36:21 | [INFO] | Discordia 2.9.1 -2021-08-06 16:36:21 | [INFO] | Connecting to Discord... -2021-08-06 16:36:22 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:36:22 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:36:22 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:36:22 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:36:22 | [INFO] | Shard 0 : Received READY -2021-08-06 16:36:41 | [INFO] | Discordia 2.9.1 -2021-08-06 16:36:41 | [INFO] | Connecting to Discord... -2021-08-06 16:36:42 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:36:42 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:36:42 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:36:42 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:36:42 | [INFO] | Shard 0 : Received READY -2021-08-06 16:37:00 | [INFO] | Discordia 2.9.1 -2021-08-06 16:37:00 | [INFO] | Connecting to Discord... -2021-08-06 16:37:00 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:37:00 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:37:00 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:37:00 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:37:00 | [INFO] | Shard 0 : Received READY -2021-08-06 16:46:51 | [INFO] | Discordia 2.9.1 -2021-08-06 16:46:51 | [INFO] | Connecting to Discord... -2021-08-06 16:46:52 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:46:52 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:46:52 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:46:52 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:46:52 | [INFO] | Shard 0 : Received READY -2021-08-06 16:48:00 | [INFO] | Discordia 2.9.1 -2021-08-06 16:48:00 | [INFO] | Connecting to Discord... -2021-08-06 16:48:00 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:48:00 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:48:00 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:48:00 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:48:00 | [INFO] | Shard 0 : Received READY -2021-08-06 16:48:08 | [INFO] | Discordia 2.9.1 -2021-08-06 16:48:08 | [INFO] | Connecting to Discord... -2021-08-06 16:48:08 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:48:08 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:48:09 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:48:09 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:48:09 | [INFO] | Shard 0 : Received READY -2021-08-06 16:49:51 | [INFO] | Discordia 2.9.1 -2021-08-06 16:49:51 | [INFO] | Connecting to Discord... -2021-08-06 16:49:51 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:49:51 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:49:52 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:49:52 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:49:52 | [INFO] | Shard 0 : Received READY -2021-08-06 16:50:35 | [INFO] | Discordia 2.9.1 -2021-08-06 16:50:35 | [INFO] | Connecting to Discord... -2021-08-06 16:50:35 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:50:35 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:50:35 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:50:35 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:50:35 | [INFO] | Shard 0 : Received READY -2021-08-06 16:50:58 | [INFO] | Discordia 2.9.1 -2021-08-06 16:50:58 | [INFO] | Connecting to Discord... -2021-08-06 16:50:58 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:50:58 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:50:58 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:50:58 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:50:58 | [INFO] | Shard 0 : Received READY -2021-08-06 16:51:48 | [INFO] | Discordia 2.9.1 -2021-08-06 16:51:48 | [INFO] | Connecting to Discord... -2021-08-06 16:51:48 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:51:48 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:51:48 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:51:48 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:51:49 | [INFO] | Shard 0 : Received READY -2021-08-06 16:53:15 | [INFO] | Discordia 2.9.1 -2021-08-06 16:53:15 | [INFO] | Connecting to Discord... -2021-08-06 16:53:15 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:53:15 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:53:15 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:53:15 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:53:15 | [INFO] | Shard 0 : Received READY -2021-08-06 16:53:28 | [INFO] | Discordia 2.9.1 -2021-08-06 16:53:28 | [INFO] | Connecting to Discord... -2021-08-06 16:53:28 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:53:28 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:53:28 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:53:28 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:53:28 | [INFO] | Shard 0 : Received READY -2021-08-06 16:54:25 | [INFO] | Discordia 2.9.1 -2021-08-06 16:54:25 | [INFO] | Connecting to Discord... -2021-08-06 16:54:26 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:54:26 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:54:26 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:54:26 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:54:26 | [INFO] | Shard 0 : Received READY -2021-08-06 16:55:11 | [INFO] | Discordia 2.9.1 -2021-08-06 16:55:11 | [INFO] | Connecting to Discord... -2021-08-06 16:55:11 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:55:11 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:55:11 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:55:11 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:55:11 | [INFO] | Shard 0 : Received READY -2021-08-06 16:55:49 | [INFO] | Discordia 2.9.1 -2021-08-06 16:55:49 | [INFO] | Connecting to Discord... -2021-08-06 16:55:50 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 16:55:50 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 16:55:50 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 16:55:50 | [INFO] | Shard 0 : Received HELLO -2021-08-06 16:55:50 | [INFO] | Shard 0 : Received READY -2021-08-06 17:31:16 | [INFO] | Discordia 2.9.1 -2021-08-06 17:31:16 | [INFO] | Connecting to Discord... -2021-08-06 17:31:16 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 17:31:16 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 17:31:16 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 17:31:16 | [INFO] | Shard 0 : Received HELLO -2021-08-06 17:31:16 | [INFO] | Shard 0 : Received READY -2021-08-06 17:31:46 | [INFO] | Discordia 2.9.1 -2021-08-06 17:31:46 | [INFO] | Connecting to Discord... -2021-08-06 17:31:46 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 17:31:46 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 17:31:46 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 17:31:46 | [INFO] | Shard 0 : Received HELLO -2021-08-06 17:31:46 | [INFO] | Shard 0 : Received READY -2021-08-06 17:31:54 | [INFO] | Discordia 2.9.1 -2021-08-06 17:31:54 | [INFO] | Connecting to Discord... -2021-08-06 17:31:54 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 17:31:54 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 17:31:54 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 17:31:54 | [INFO] | Shard 0 : Received HELLO -2021-08-06 17:31:54 | [INFO] | Shard 0 : Received READY -2021-08-06 17:32:09 | [INFO] | Discordia 2.9.1 -2021-08-06 17:32:09 | [INFO] | Connecting to Discord... -2021-08-06 17:32:09 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 17:32:09 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 17:32:10 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 17:32:10 | [INFO] | Shard 0 : Received HELLO -2021-08-06 17:32:10 | [INFO] | Shard 0 : Received READY -2021-08-06 17:32:25 | [INFO] | Discordia 2.9.1 -2021-08-06 17:32:25 | [INFO] | Connecting to Discord... -2021-08-06 17:32:25 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 17:32:25 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 17:32:25 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 17:32:25 | [INFO] | Shard 0 : Received HELLO -2021-08-06 17:32:25 | [INFO] | Shard 0 : Received READY -2021-08-06 17:32:37 | [INFO] | Discordia 2.9.1 -2021-08-06 17:32:37 | [INFO] | Connecting to Discord... -2021-08-06 17:32:37 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 17:32:37 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 17:32:37 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 17:32:37 | [INFO] | Shard 0 : Received HELLO -2021-08-06 17:32:38 | [INFO] | Shard 0 : Received READY -2021-08-06 17:33:02 | [INFO] | Discordia 2.9.1 -2021-08-06 17:33:02 | [INFO] | Connecting to Discord... -2021-08-06 17:33:02 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 17:33:02 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 17:33:02 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 17:33:02 | [INFO] | Shard 0 : Received HELLO -2021-08-06 17:33:02 | [INFO] | Shard 0 : Received READY -2021-08-06 17:38:00 | [INFO] | Discordia 2.9.1 -2021-08-06 17:38:00 | [INFO] | Connecting to Discord... -2021-08-06 17:38:00 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 17:38:00 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 17:38:00 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 17:38:00 | [INFO] | Shard 0 : Received HELLO -2021-08-06 17:38:00 | [INFO] | Shard 0 : Received READY -2021-08-06 17:51:35 | [INFO] | Discordia 2.9.1 -2021-08-06 17:51:35 | [INFO] | Connecting to Discord... -2021-08-06 17:51:35 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 17:51:35 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 17:51:35 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 17:51:35 | [INFO] | Shard 0 : Received HELLO -2021-08-06 17:51:35 | [INFO] | Shard 0 : Received READY -2021-08-06 18:02:09 | [INFO] | Discordia 2.9.1 -2021-08-06 18:02:09 | [INFO] | Connecting to Discord... -2021-08-06 18:02:14 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 18:02:14 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 18:02:14 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 18:02:14 | [INFO] | Shard 0 : Received HELLO -2021-08-06 18:02:14 | [INFO] | Shard 0 : Received READY -2021-08-06 18:02:55 | [INFO] | Discordia 2.9.1 -2021-08-06 18:02:55 | [INFO] | Connecting to Discord... -2021-08-06 18:02:55 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 18:02:55 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 18:02:56 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 18:02:56 | [INFO] | Shard 0 : Received HELLO -2021-08-06 18:02:56 | [INFO] | Shard 0 : Received READY -2021-08-06 18:03:29 | [INFO] | Discordia 2.9.1 -2021-08-06 18:03:29 | [INFO] | Connecting to Discord... -2021-08-06 18:03:30 | [INFO] | Authenticated as Thembot#2260 -2021-08-06 18:03:30 | [INFO] | Launching shard 0 (1 out of 1)... -2021-08-06 18:03:30 | [INFO] | Shard 0 : Connected to wss://gateway.discord.gg -2021-08-06 18:03:30 | [INFO] | Shard 0 : Received HELLO -2021-08-06 18:03:30 | [INFO] | Shard 0 : Received READY diff --git a/gateway.json b/gateway.json index 31a4d60..2dbce15 100644 --- a/gateway.json +++ b/gateway.json @@ -1 +1 @@ -{"873255296024322059":{"shards":1,"timestamp":1628289076,"owner":{"avatar":null,"discriminator":"0000","public_flags":1024,"id":"872299874857676820","username":"team872299874857676820","flags":1024}},"url":"wss://gateway.discord.gg"} \ No newline at end of file +{"url":"wss://gateway.discord.gg","873255296024322059":{"shards":1,"timestamp":1628292687,"owner":{"id":"872299874857676820","flags":1024,"avatar":null,"username":"team872299874857676820","discriminator":"0000","public_flags":1024}}} \ No newline at end of file diff --git a/rng.lua b/rng.lua index 5d33bff..1b1b71e 100644 --- a/rng.lua +++ b/rng.lua @@ -5,14 +5,15 @@ function rng.d20() tools.reseed() local dice = math.random(20) local messagePart1 = ('You rolled a ' .. dice .. ' out of 20') - messagepart2 = "" + print(messagePart1) + local messagepart2 = '' if dice==20 then - messagePart2 = ('Nat 20! Crititcal Hit') + messagepart2 = ('Nat 20! Crititcal Hit') else if dice==1 then - messagePart2 = ('Nat 1! Critical Shit!') + messagepart2 = ('Nat 1! Critical Shit!') end end - local message = messagePart1 .. '\n' .. messagePart2 + local message = messagePart1 .. '\n' .. messagepart2 return message end