mirror of
https://github.com/Matte23/circolapp.git
synced 2025-12-06 07:29:10 +00:00
Add base support for notifications
This commit is contained in:
@@ -64,6 +64,10 @@ class ServerAPI(serverName: Servers) {
|
||||
return Servers.values()[serverID]
|
||||
}
|
||||
|
||||
fun getServerTopic(serverID: Int): String {
|
||||
return getServer(serverID).toString()
|
||||
}
|
||||
|
||||
fun getServerId(server: Servers): Int {
|
||||
return Servers.values().indexOf(server)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user