RuneHive-Tarnish
Neural OSRS Enhancement Framework
|
Static Public Member Functions | |
static void | start () |
Static Public Attributes | |
static DiscordClient | client |
static Stopwatch | stopwatch = Stopwatch.start() |
Handles creating a connection to the OS Royale community discord channel.
!!! - > Better way of handling the community and administration message instance. When creating the channel instance by using client.getChannelById(long) the channel is always null. I am "cheap haxing" it by initializing the channel in the onMessage event. Problem with this is if you start the server from fresh the Discord bot will not be able to send outgoing messages (message) until someone Has triggered the discord event.
Definition at line 59 of file Discord.java.
|
inlinestatic |
Handles starting the discord bot.
Definition at line 86 of file Discord.java.
|
static |
The discord client.
Definition at line 69 of file Discord.java.
|
static |
The discord stopwatch (prevent spamming).
Definition at line 81 of file Discord.java.