aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples/echo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/examples/echo.rs')
-rwxr-xr-xazalea/examples/echo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/examples/echo.rs b/azalea/examples/echo.rs
index 2093ff4e..f9bafebd 100755
--- a/azalea/examples/echo.rs
+++ b/azalea/examples/echo.rs
@@ -18,7 +18,7 @@ async fn main() {
.unwrap();
}
-#[derive(Default, Clone)]
+#[derive(Default, Clone, Component)]
pub struct State {}
async fn handle(bot: Client, event: Event, _state: State) -> anyhow::Result<()> {