Discord bot to post Galnet News from Elite: Dangerous. This bot will check Galnet four times an hour for a new article and post to any subscribed Discord servers.
galnet-news on
to the channel's topic
galnet-news on fr-FR
Done!
Language preference is here. The Galnet News API doesn't support a lot of languages, but this should cover some popular languages.
Add the language code to the channel's topic like: galnet-news on de-DE
Available language codes:
en-GB
de-DE
fr-FR
es-ES
pt-BR
it-IT
nl-NL
ru-RU
I've noticed that some of these still show up as English, but that is how Frontier provides it.
galnet-news post-now
to your channel topic. This will post the current article now using the language configuration. This will continue to post if you update your channel, you will need to remove it if you don't want it to post more.Since this bot has very limited interaction, it seemed like a waste to monitor all messages in the discord server. So instead, the bot will monitor updates to your channels.
galnet-news off
to the channel's topic, save the changeThe bot is running on nodejs and discordjs. You can host this on any computer and it's very lightweight.
git clone https://github.com/pluginpatch/galnet-discord-bot.git
npm update
token.json
with your token in the repo directory:
{
"token": "<Your Token>"
}
npm start