{"repo":"RemainNA/auraxis-bot","free":true,"listed":false,"github":"https://github.com/RemainNA/auraxis-bot","clone":"git clone https://github.com/RemainNA/auraxis-bot.git","description":"A discord bot to look up stats and information from Planetside 2","language":"JavaScript","stars":28,"topics":["discord-bot","planetside2"],"license":"MIT","category":"databases-storage","readme_excerpt":"auraxis-bot A Discord bot to look up stats and information from Planetside 2 Invite The bot can be added to your server with this invite link. Structure The main event listener for Discord messages is in main.js , it starts additional listeners in unifiedWSListener.js which each listen for events from the Daybreak Stream API for a given platform (PC, PS4US, PS4EU). Most commands have their functionality separated into their own files, and utilize async to support high message volume. Database structure is defined in dbStructure.sql . Usage The bot is designed to be simple to use. Once added to your server with the invite link, commands can be viewed with /help . In order to get the most out of the bot, please grant it the \"Read Messages\", \"Send Messages\", \"Embed Links\", and \"Use External Emoji\" permissions. In addition for slash commands to display emoji the @everyone role must have the \"Use External Emoji\" permission granted in that channel, regardless of the bot's permissions. Self hosting A .env file is used for the environment variables, including the Discord Token, Daybreak Census API service ID, Postgres URL (optional). Subscription functionality will be disabled if a database URL is not present. If using Postgres, be sure to load the dbStructure.sql schema manually before starting the bot. Your .env file should look something like this After initial startup, run node registerCommands.js once to register the bot's commands with Discord. To add the bot to your server, us","default_branch":null,"files":null,"tree":[],"storefront":"/r/RemainNA","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/RemainNA/auraxis-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}