Declare a presence for sern to handle! The api is super simple.
Ensure you have a file called presence.(file-ending) ADJACENT to wherever Sern.init is called!
An example is here:
Sern.init is called in index.ts.
I make a file presence.ts next to it with this:
Declare a presence for sern to handle! The api is super simple. Ensure you have a file called presence.(file-ending) ADJACENT to wherever Sern.init is called! An example is here: Sern.init is called in index.ts. I make a file presence.ts next to it with this:
The example demonstrates a repeating presence, where every 10 seconds, we re set the presence.