Skip to content

Bot de la comunidad de Discord de RustLang en Español.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

ShiftrTechSAS/cangrebot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CangreBot

Bot de la comunidad de Discord de RustLang en Español.

Desarrollo

Para ejecutar el código en modo desarrollo tienes dos opciones:

  1. Recarga automática al guardar un archivo usando cargo-watch:

Para instalar cargo-watch usa:

cargo install cargo-watch

Mira https://crates.io/crates/cargo-watch para más información.

Luego ejecuta el siguiente comando:

cargo watch -c -x 'run --bin cangrebot'
  1. Ejecutar el código sin recargar al guardar:
cargo run --bin cangrebot

Producción

  1. Compilamos el código en modo producción:
cargo build --release --bin cangrebot
  1. Ejecutamos el archivo binario resultante:

Linux o macOS:

DISCORD_TOKEN=token target/release/cangrebot

Windows PowerShell:

$env:DISCORD_TOKEN="token"; target/release/cangrebot.exe

Autores

About

Bot de la comunidad de Discord de RustLang en Español.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 95.5%
  • Shell 4.5%