Removed discord presense

This commit is contained in:
entar 2025-06-07 21:58:51 +07:00
parent f5f886a3d2
commit ab333d3e50
6 changed files with 0 additions and 38 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1 +0,0 @@
return "1380367531314778122"

View File

@ -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()

View File

@ -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.