diff --git a/discord-rpc.dll b/discord-rpc.dll deleted file mode 100644 index 8493c54..0000000 Binary files a/discord-rpc.dll and /dev/null differ diff --git a/discord-rpc.lib b/discord-rpc.lib deleted file mode 100644 index fcd009d..0000000 Binary files a/discord-rpc.lib and /dev/null differ diff --git a/discord_app.lua b/discord_app.lua deleted file mode 100644 index b8781bd..0000000 --- a/discord_app.lua +++ /dev/null @@ -1 +0,0 @@ -return "1380367531314778122" \ No newline at end of file diff --git a/main.lua b/main.lua index cb394de..a7575ae 100644 --- a/main.lua +++ b/main.lua @@ -5,8 +5,6 @@ local myTypes = require("modules.types") local files = require("modules.files") local json = require("modules.json") local logging = require("modules.logging") -local discord = require("modules.discord") -local applicationid = require("discord_app") local songs = require("charts.songs") @@ -43,15 +41,6 @@ local function setup() logo.position = myTypes.Vector2(-80, 0) freaky:play() - - local timeStamp = os.time() - - discord.updatePresence({ - details = "In menu", - largeImageKey = "bigimage", - startTimestamp = timeStamp, - state = "TaggedEngine: FNF in LUA, better than ever." - }) end local font = love.graphics.newFont("fonts/Phantomuff.ttf", 40) @@ -180,6 +169,4 @@ end love.window.setMode(1280, 720, { fullscreen = false , resizable = true}) -discord.initialize(applicationid, true) - setup() \ No newline at end of file diff --git a/modules/states/playstate.lua b/modules/states/playstate.lua index ea3f828..d046f5a 100644 --- a/modules/states/playstate.lua +++ b/modules/states/playstate.lua @@ -7,10 +7,7 @@ local function state(songName, songDifficulty) local conductor = require("modules.conductor") local json = require("modules.json") local files = require("modules.files") - local logger = require("modules.logging") local socket = require("socket") - local logging= require("modules.logging") - local discord = require("modules.discord") -- I NEED THEM IMPORTS local startTime = 0 @@ -306,12 +303,6 @@ local function state(songName, songDifficulty) end if beat % 4 == 0 then zoom = zoom + .1 - discord.updatePresence({ - details = string.format("Playing %s on difficulty %s", songName, songDifficulty), - largeImageKey = "bigimage", - startTimestamp = startTimestamp, - state = string.format("Score: %s", score) - }) end else for name, character in next, characters do @@ -668,13 +659,6 @@ local function state(songName, songDifficulty) startTime = socket.gettime() startTimestamp = os.time() - - discord.updatePresence({ - details = string.format("Playing %s on difficulty %s", songName, songDifficulty), - largeImageKey = "bigimage", - startTimestamp = startTimestamp, - state = "Score: 0" - }) end function state.keypressed(key, un, is) @@ -688,14 +672,6 @@ local function state(songName, songDifficulty) voices:pause() end pauseStart = socket.gettime() * 1000 - - local pauseStamp = os.time() - discord.updatePresence({ - details = string.format("Paused %s on difficulty %s", songName, songDifficulty), - largeImageKey = "bigimage", - startTimestamp = pauseStamp, - state = string.format("Score: %s", score) - }) else inst:play() if chart.needsVoices then diff --git a/send-presence.exe b/send-presence.exe deleted file mode 100644 index 91a49b5..0000000 Binary files a/send-presence.exe and /dev/null differ