From 02659424499e5e994d3f26a1f8489691f0b44b19 Mon Sep 17 00:00:00 2001 From: Akulij Date: Sat, 31 May 2025 10:48:15 +0500 Subject: [PATCH] enable Send for BotController --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 33e7cdf..d3ac948 100644 --- a/src/main.rs +++ b/src/main.rs @@ -118,6 +118,8 @@ pub struct BotController { pub runner: Runner, } +unsafe impl Send for BotController {} + const MAIN_BOT_SCRIPT: &str = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/mainbot.js")); impl BotController {