Expose all currently known bots.
[xudocci.git] / src / main / java / net / pterodactylus / xdcc / core / Core.java
index c59c9d5..2691526 100644 (file)
@@ -85,6 +85,19 @@ public class Core extends AbstractIdleService {
        }
 
        //
+       // ACCESSORS
+       //
+
+       /**
+        * Returns all currently known bots.
+        *
+        * @return All currently known bots
+        */
+       public Collection<Bot> bots() {
+               return networkBots.values();
+       }
+
+       //
        // ACTIONS
        //