ModBot provides your community with an easy way to search mods on mod.io and subscribe to games to see whenever a mod is added or edited.
You can invite the officially hosted ModBot to join your Discord server using the following URL https://discordbot.mod.io, or you can build and install your own version of ModBot by following the instructions below.
~gamesand set the default game
Embed Linkspermissions in the channel(s) it is in to be able to function correctly
~ is the prefix used to issue commands to ModBot. Once you have invited ModBot to your server, you can set the default game using the command
~game ID. Now when a user issues the command
~mods, all of the mods for the game you specified will be returned. You can change the default game at any time.
We recommend you also
~subscribe ID to games you are interested in receiving push notifications from. For example in our #bot channel, we have subscribed to a bunch of games and whenever a mod is updated, the channel is notified.
Popular commands include:
~helpshow these commands
~prefix CHARACTERchange the default prefix from
~to something else
~game <ID|Name>set the default game
~gamereturn information about the default game
~gamesreturn a list of all games
~mod <ID|Name>return information about the mod(s) requested
~mods [ID|Name]return a list of all mods belonging to the default game
~popularreturn a list of mods ordered by popularity
~subscribe <ID|Name> [Tag..]subscribe to a game for updates (mods added/edited) [alias:
~sub 51 ~sub xcom ~sub xcom "UFO Defense" Major ~sub "Skate XL" "Real World Spot" ~sub skate Gear Deck
~subscriptionssee all games subscribed too [alias:
~unsubscribe <ID|Name> [Tag..]unsubscribe from a game [alias:
~unsub 51 ~unsub OpenXcom ~unsub xcom "UFO Defense" Major ~unsub "Skate XL" "Real World Spot" ~unsub skate Gear Deck
~mute <Game> <Mod>mute a mod from update notifications
~mutedreturn a list of all muted mods
~unmute <Game> <Mod>unmute a mod from update notifications
MODBOT is written in Rust, so you'll need to grab a Rust installation in order to compile it. Building is easy:
$ git clone https://github.com/nickelc/modio-bot $ cd modio-bot $ cargo build --release $ ./target/release/modbot
Use the feature
sqlite-bundled to compile sqlite3 from source and link against that.
$ cargo build --features sqlite-bundled
$ cargo install --git https://github.com/nickelc/modio-bot $ $HOME/.cargo/bin/modbot
bot.toml config file in the working directory.
[bot] token="your discord bot token" database_url="/path/to/sqlite.db" [modio] api_key="your mod.io api key"
A example is provided as
./path/to/modbot ./path/to/modbot --config path/to/bot.toml
Logging can be configured via environment variables.
tracing_subscriber::EnvFilter for more information.
Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Reviews can be left only by registered users. All reviews are moderated by Top.gg moderators. Please make sure to check our guidelines before posting.
No reviews here yet!