How to enable project always?

https://myloxbot.glitch.me/ ||| I want my bot avaible 7/24 what i need to do ?

Hi there @loxchatterbx!
The only supported and permitted way is to buy Project Boosts. Pinging services have now been blocked.
Hope this helps answer your question :slight_smile:
Eddie

1 Like

can i do something with arduino or rasberry pi for this ?

You can self-host with a Raspberry Pi! Learn more at: raspberrypi.org. You can buy them on Amazon or any other retailer :slight_smile: Here’s a tutorial: https://thisdavej.com/beginners-guide-to-installing-node-js-on-a-raspberry-pi/

2 Likes

How to install ffmpeg for rasberry pi i made an music bot becuase

This is the command in the terminal

npm i ffmpeg-static
2 Likes

Be sure to install Node.js on your machine before doing this however :slight_smile:

2 Likes

Well i don’t have an rasberry pi now but i will buy do you have Discord so i can reach you much easly ?

I’m much more active here than on Discord. I check this forum at least every hour or so. Anyway, here: EddiesTech#1184

3 Likes

Riverside Rocks#5685
^^^^^

2 Likes

I sent both of you guys ! And i need an help too which file i need put that code ;

static void UpdatePresence()
{
DiscordRichPresence discordPresence;
memset(&discordPresence, 0, sizeof(discordPresence));
discordPresence.state = “!y for commands !”;
discordPresence.details = “⛧𝕷𝖔𝖝 𝕭𝖔𝖙⛧”;
discordPresence.largeImageKey = “loxbot”;
discordPresence.largeImageText = “LoxChatterbox Bot”;
discordPresence.smallImageKey = “help”;
discordPresence.smallImageText = “!y for help”;
discordPresence.partyId = “f”;
discordPresence.joinSecret = “fx”;
Discord_UpdatePresence(&discordPresence);
}

Sorry, but I’m not that good with C#.

Maybe just try something like main.cs

1 Like

Oh okay me too i just got it from discord developer app

That code for the Discord Game SDK (in C#) developers @loxchatterbx

1 Like

But if you have a the option, I 10/10 recommend discordjs. Its a lot more popular than Discord for C#.

1 Like

agreed. It has better docs and community support

2 Likes

Can i trick discord for see’s my bot like playing an game ?

The thing is that is for video games looking to integrate with Discord Rich Presence, etc

Uhm sorry for late reply but when i play an music on my bot after 1.5 min the music glitching and quit at channel when i look cmd it says undefined so anybody know what can i do ?

Could you share your full error logs?

1 Like

Where can i look at them i only can see cmd error and it says undefined

Could you send a screenshot of what you are seeing?

Well if you want to test it you can come to my server. İt’s like the music skip 10 second and reverse back something like buggy

Hmm, this just seems like some JSON code in the terminal. Are you working on Glitch or self hosting?

Self hosting someone coded this bot in Glitch for me and i downloaded files to my pc and now im hosting from my pc.

The bot is lagging, that is your issue, right? Could you open task manager and see how much CPU your bot is using?

Well maybe ; Try setting the process priority of the music bot to Realtime. This should fix the issue assuming you have access to the machine hosting the music bot and the stuttering is caused by the music bot’s process not being evenly allotted CPU time.

but i don’t know how can i do this

Uhm sorry :frowning: Yeah it didn’t fixed still get same error! “Stream is not generating quickly enough”