diff options
author | Minteck <contact@minteck.org> | 2022-07-13 23:34:21 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-07-13 23:34:21 +0200 |
commit | 7b5df4ca0a5bd6fcf033ef40563599593b156910 (patch) | |
tree | 56cb89f3900adde9da67e7558793a20fb40d7197 /core/PresenceManager.ts | |
download | cooler-pony-7b5df4ca0a5bd6fcf033ef40563599593b156910.tar.gz cooler-pony-7b5df4ca0a5bd6fcf033ef40563599593b156910.tar.bz2 cooler-pony-7b5df4ca0a5bd6fcf033ef40563599593b156910.zip |
Initial commit
Diffstat (limited to 'core/PresenceManager.ts')
-rw-r--r-- | core/PresenceManager.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/PresenceManager.ts b/core/PresenceManager.ts new file mode 100644 index 0000000..3e88dbc --- /dev/null +++ b/core/PresenceManager.ts @@ -0,0 +1,7 @@ +import {Client} from "discord.js"; + +export class PresenceManager { + public static start(client: Client): void { + client.user.setPresence({activities: [{name: 'with you!'}], status: 'online'}); + } +}
\ No newline at end of file |