Giter Club home page Giter Club logo

eve-static-db-bot's Introduction

eve-static-db-bot

Build Status License

This Discord bot displays EVE Online item infos.

  • Features all ships, modules and blueprints, about 7500 items.
  • Fuzzy search friendly: If your request matches multiple results, the bot will ask you to choose an answer between a list of possible responses.
  • Based on the official EVE STATIC DATA EXPORT.
  • Chatting with this bot is supported in private messages.

What permissions does this bot require?

This bot requires the following channel permissions:

Permission Reason
Read Messages History Allows the bot to read your request.
Send Messages Allows the bot to reply to your commands.
Use External Emojis Allows the bot to display EVE custom icons.
Embed Links Allows the bot to post Discord rich embed content containing images (ship renders, module icons) and hyperlinks (an external EVE database website).
Add Reactions Allows the bot to post a trash icon reaction. You can click on it to quickly erase your datasheet response.
Manage Messages Allows the bot to clear the multiple choice text associated with a response.

If you're not confident with the Manage Messages permission, you can still edit the bot role after installation to uncheck it. Be aware, removing this, the bot won't be able to clean the temporary selection text, leaving unnecessary spam on your channel.

Commands:

Command Description
/ed [itemName] Display info about a specific eve online item.
/help Display information about available commands and current version.
/invitebot Provide a link to install this bot on your own Discord server.

Hosting your own copy:

  • Node 8 is required.
  • Your server must be accessible from outside to serve images (default port: 8000)
  • Clone this repository.
  • Download and unpack the SDE for TRANQUILITY archive inside your /datas folder.
  • Download and unpack the IEC Renders archive inside your /datas folder.
  • Download and unpack the IEC Icons archive inside your /datas folder.
npm install
node app.js

Once ready, the console will display a message similar to this one:

Bot is ready, SDE YAML processed: 347 ship, 3810 module registered.

JSON Configuration:

Copy "config.sample.json" to "config.json" and edit your configuration file:

token:
Token of your Discord bot, visit https://discordapp.com/developers/docs/intro to get yours.

prefix:
Your discord prefix command. (default is '/')

thumbrooturl:
This bot is using Express to serve ship images and item icons.
Provide your ip/domainname and port as a http url to link images. The service must be accessible from outside.

wikidomain:
Website domain to link each ship page.

eimojis:
Due to limited embed customization, Discord server eimojis are used to display eve online attribute icons:
On your Discord server, go to "server settings" and "emoji" tab, then add all the custom eimojis provided in the /datas/eimojis folder. Inside your Discord channel, use the command \:myeimojishortcut: (example: \:Caldari:) to get your personal eimojis codes. Report all resulting Ids for eimojis in your config.json file.

eve-static-db-bot's People

Contributors

m68k-fr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.