You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a lavalink node connection, which connects to two nodes on startup and i have an event with this nodeConnection function, but since the connection runs synchronous it creates two spinners at the same. Is there any way I can run two spinners at the same time since currently it just kinda bugs out and edits the existing spinner on timeout
Code:
import{Node}from'poru';importorafrom'ora';importchalkfrom'chalk';exportconstnodeConnect=async(node: Node)=>{// console.log(chalk.redBright.bold(`[NODE]`) + ` ${node.name} has been loaded successfully`);constspinner=ora(`Connecting to ${node.name}`).start();setTimeout(()=>{spinner.color='yellow';spinner.text=`${chalk.bold.yellow('[NODE]')} Connected to ${node.name}`;},10*1000);};
Thank You
The text was updated successfully, but these errors were encountered:
I have a lavalink node connection, which connects to two nodes on startup and i have an event with this nodeConnection function, but since the connection runs synchronous it creates two spinners at the same. Is there any way I can run two spinners at the same time since currently it just kinda bugs out and edits the existing spinner on timeout
Code:
Thank You
The text was updated successfully, but these errors were encountered: