kxg.tokens.require_active_token¶
-
kxg.tokens.require_active_token(object)[source]¶ Raise an
ApiUsageErrorif the given object is not a token that is currently participating in the game. To be participating in the game, the given token must have an id number and be associated with the world.