Compare commits
3 Commits
14b171b1c3
...
8c2dd1cc3b
Author | SHA1 | Date |
---|---|---|
hgw | 8c2dd1cc3b | |
hgw | 99e4aaa0d7 | |
hgw | 35f99f5e0e |
|
@ -0,0 +1,2 @@
|
|||
irc_config.yaml
|
||||
/ircie
|
|
@ -1,4 +1,5 @@
|
|||
/target
|
||||
Cargo.lock
|
||||
irc_config.yaml
|
||||
hall_of_fame.yaml
|
||||
/save
|
||||
/ircie
|
|
@ -6,7 +6,7 @@ edition = "2021"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
ircie = { path = "../ircie" }
|
||||
ircie = { path = "./ircie" }
|
||||
tokio = { version = "1.28.2", features = ["full"] }
|
||||
env_logger = "0.10.0"
|
||||
rand = "0.8.5"
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
FROM rust:bookworm
|
||||
WORKDIR /app
|
||||
RUN mkdir save
|
||||
RUN git clone https://github.com/ayywrk/ircie
|
||||
COPY . .
|
||||
RUN cargo build --release
|
||||
CMD ["./target/release/hardfight"]
|
|
@ -0,0 +1,6 @@
|
|||
services:
|
||||
hardfight:
|
||||
build: .
|
||||
volumes:
|
||||
- "$PWD/irc_config.yaml:/app/irc_config.yaml"
|
||||
- "$PWD/save:/app/save"
|
|
@ -0,0 +1,21 @@
|
|||
host: irc.supernets.org
|
||||
port: 6697
|
||||
ssl: true
|
||||
|
||||
channels:
|
||||
- "#5000"
|
||||
|
||||
nick: hardfight
|
||||
user: hardfight
|
||||
real: hardfight
|
||||
|
||||
nickserv_pass: REDACTED
|
||||
nickserv_email: REDACTED
|
||||
|
||||
cmdkey: ","
|
||||
|
||||
flood_interval: 1
|
||||
|
||||
owner: "*!*@cia.gov"
|
||||
|
||||
admins: []
|
|
@ -21,7 +21,7 @@ use rand::{
|
|||
};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
const SAVE_LOC: &'static str = "hall_of_fame.yaml";
|
||||
const SAVE_LOC: &'static str = "save/hall_of_fame.yaml";
|
||||
|
||||
const PRESENTATIONS: &'static [&'static str] = &[
|
||||
"A faggot coming straight from the underground!",
|
||||
|
|
Loading…
Reference in New Issue