Compare commits
No commits in common. "24f6953863ed64fe3713a2c613652898a17fc78d" and "2716d9172fe7c8e349f5c003d2e859287aa253cf" have entirely different histories.
24f6953863
...
2716d9172f
@ -1,7 +1,2 @@
|
|||||||
.git/
|
irc_config.yaml
|
||||||
ircie/
|
/ircie
|
||||||
config/
|
|
||||||
.gitignore
|
|
||||||
docker-compose.yml
|
|
||||||
Dockerfile
|
|
||||||
IDEAS
|
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,5 +1,5 @@
|
|||||||
/target
|
/target
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
config/irc_config.yaml
|
irc_config.yaml
|
||||||
config/hall_of_fame.yaml
|
/save
|
||||||
/ircie
|
/ircie
|
@ -1,5 +1,6 @@
|
|||||||
FROM rust:bookworm
|
FROM rust:bookworm
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
RUN mkdir save
|
||||||
RUN git clone https://git.supernets.org/sad/ircie.git
|
RUN git clone https://git.supernets.org/sad/ircie.git
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
5
IDEAS
5
IDEAS
@ -1,3 +1,8 @@
|
|||||||
|
disallow ,challenging self
|
||||||
|
(When challenging yourself, this error occurs:
|
||||||
|
hardfight-hardfight-1 | thread 'tokio-runtime-worker' panicked at 'called `Option::unwrap()` on a `None` value', src/main.rs:386:53
|
||||||
|
hardfight-hardfight-1 | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
|
)
|
||||||
fix ,f
|
fix ,f
|
||||||
make this fuckin lib async so I can sleep in between shit
|
make this fuckin lib async so I can sleep in between shit
|
||||||
,titlefight where looser gets 5k'd
|
,titlefight where looser gets 5k'd
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
hardfight:
|
hardfight:
|
||||||
image: git.supernets.org/hgw/hardfight:latest
|
build: .
|
||||||
#build: .
|
|
||||||
volumes:
|
volumes:
|
||||||
- "$PWD/config/:/app/config/"
|
- "$PWD/irc_config.yaml:/app/irc_config.yaml"
|
||||||
|
- "$PWD/save:/app/save"
|
@ -21,7 +21,7 @@ use rand::{
|
|||||||
};
|
};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
const SAVE_LOC: &'static str = "config/hall_of_fame.yaml";
|
const SAVE_LOC: &'static str = "save/hall_of_fame.yaml";
|
||||||
|
|
||||||
const PRESENTATIONS: &'static [&'static str] = &[
|
const PRESENTATIONS: &'static [&'static str] = &[
|
||||||
"A faggot coming straight from the underground!",
|
"A faggot coming straight from the underground!",
|
||||||
@ -234,7 +234,7 @@ impl Fight {
|
|||||||
async fn main() -> std::io::Result<()> {
|
async fn main() -> std::io::Result<()> {
|
||||||
env_logger::init();
|
env_logger::init();
|
||||||
|
|
||||||
let mut irc = Irc::from_config("config/irc_config.yaml").await?;
|
let mut irc = Irc::from_config("irc_config.yaml").await?;
|
||||||
|
|
||||||
irc.add_resource(Fight::default())
|
irc.add_resource(Fight::default())
|
||||||
.await
|
.await
|
||||||
|
Loading…
Reference in New Issue
Block a user