Remove all bots from a kahoot game.



| Discord | GitHub |
|---|---|
![]() |
![]() |
Sometimes, just an antibot is not enough... Here are ways to prevent bots from joining your games to the best of your ability
KAntibot v4 works alongside other kahoot scripts normally, meaning you do not have to add your code to an array.
window.kantibotVersion variable.window.antibotAdditionalScripts will be executed by the antibot, but it is deprecated.window.antibotAdditionalReplacements feature is no longer supported, as KAntibot does not directly patch the JS code.To detect if the antibot is active, you can check for the window.kantibotEnabled variable (v3.0.0+)
If you would like to make scripts that access various internals without interfering with KAntibot, you can use methods such as window.kantibotAddHook.
Example:
window.kantibotAddHook({
prop: "example",
condition: function (target, value) {
return value === "test";
},
callback: function (target, value) {
console.log("The object the property is put on is", target);
console.log("The example property is set to", value);
return true;
},
});