Removed discord presense
This commit is contained in:
parent
f5f886a3d2
commit
ab333d3e50
BIN
discord-rpc.dll
BIN
discord-rpc.dll
Binary file not shown.
BIN
discord-rpc.lib
BIN
discord-rpc.lib
Binary file not shown.
@ -1 +0,0 @@
|
||||
return "1380367531314778122"
|
13
main.lua
13
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()
|
@ -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
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user