Sign inSign up

scwiki/discord-bot

By scwiki

•Updated over 2 years ago

Star Citizen Discord Bot using data from https://api.star-citizen.wiki

Image
0

474

scwiki/discord-bot repository overview

⁠discord-bot

⁠

A Star Citizen Discord Bot using data from the Star Citizen Wiki API⁠.

⁠Features

⁠Ship and Vehicle Cards

Command sc_ship Pioneer

Pioneer

Command sc_vehicle Ursa Rover

Pioneer

⁠Listing all available ships and vehicles

Calling the command without arguments outputs a list of all available ships or vehicles.

Command sc_ship

Ships

⁠Starsystem Cards

Command sc_system Sol

Pioneer

⁠Listing all available systems

Calling the command without arguments outputs a list of all available starsystems.

Command sc_system

Ships

⁠Manufacturer Cards

Command sc_manufacturer RSI

RSI

⁠Listing all available manufactuer

Calling the command without arguments outputs a list of all available manufacturer.

Command sc_manufacturer

Ships

Command sc_comm-links

Comm-Links

⁠Channel Notifications

Additionally you can a channel to receive notifications if new comm-links were published.
sc_comm-links add -> Adds the current channel to receive notifications.
sc_comm-links remove -> Removes the current channel from receiving notifications.

⁠Commands

  • sc_ship name
    • Get information about a ship or vehicle by name
  • sc_manufacturer name
    • Get information about a manufacturer by name
  • sc_system name
    • Get information about a system by name
  • sc_stats
    • Get information about the current funding and fleet stats
  • sc_help
    • List available commands

Note: Only "official" data (shipmatrix for vehicles / ships and starmap for systems), will be returned.

⁠config.json

{
  "prefix": "sc_",
  "token": "Bot Token",
  "api_token": null,
  "api_url": "https://api.star-citizen.wiki",
  "wiki_url": "https://star-citizen.wiki",
  "locale": "de_DE",
  "footer": {
    "text": "Daten von https://star-citizen.wiki",
    "icon_url": "https://cdn.star-citizen.wiki/favicon.png"
  }
}

⁠Build

docker build -t scw/discord-bot .

⁠Run

docker run --name discord-bot -d -v /opt/discord-bot/config.json:/home/node/app/config.json scw/discord-bot

docker run --name discord-bot --restart unless-stopped -d -v /opt/discord-bot/config.json:/home/node/app/config.json -v /opt/discord-bot/db.json:/home/node/app/db.json scw/discord-bot

Tag summary

Content type

Image

Digest

sha256:1db7057a5…

Size

76.2 MB

Last updated

over 2 years ago

docker pull scwiki/discord-bot