Crates.io | discord-termview |
lib.rs | discord-termview |
version | 0.1.0 |
source | src |
created_at | 2021-05-27 14:54:10.385115 |
updated_at | 2021-05-27 14:54:10.385115 |
description | Spawn multiple concurrent unix terminals in Discord |
homepage | https://github.com/simvux/discord-termview |
repository | |
max_upload_size | |
id | 402746 |
size | 57,523 |
Using this bot can be exceedingly dangerous since you're basically granting people direct access to your shell.
Make sure you know what you're doing!
Make sure you have cargo installed (might need nightly, but probably doesn't)
# Compile
cargo build --release
# Configure
export DISCORD_TOKEN=my-discord-token
export ALLOWED_ROLES=<id-of-role>
# Run
target/release/discord-termview
Edit build.sh
with your token and role-id
./build.sh run