Check out all the different commands, and maybe make some more. With version 2.3 of Rocket Bot, you can do a lot.
This is a bot built for the CosmoQuest server on Discord, it is a replacement for the CosmoQuest One which was an outdated version of the robot.
The original Rocket Bot was created by CosmoQuest community member Kaio Duarte. The current version is being maintained primarily by TheRealFakeAdmin and KeeperOfMaps.
π NASA's APOD: We use the NASA API to access the full history of Astronomy Picture of The Day
π Flickr API: Get images from the latest JWST posts.
π OpenWeatherMap: OpenWeatherMap is an API for obtaining weather information
π AviationWeather.gov: Source for the METAR and TAF data
π Discord API: For everything basically
Starting in the Rocket-Bot
directory
cd CosmoQuestBot-master
Edit .example-env
using your preferred IDE or text-editor. Fill out all necessary details (DISCORD_TOKEN
, NASA_API_KEY
, & WEATHER_API_KEY
)
Try
nano .example-env
After making your changes, save the file as .env
.
Run docker build . -t rocket-bot:v2.3.1
Run docker run --name rocket-bot-231 -d rocket-bot:v2.3.1
from anywhere on the system to start the bot
--restart always
After the first install, there is no need to run the build command until the next update. All the necessary packages have already been installed.
Eventually you might want to stop the container, run the following commands to accomplish this:
docker ps
displays all running process; locate rocket-bot:v2.3.1
& note the Container ID
docker context list
then docker context use <context_not_marked_with_*>
docker stop rocket-bot
After a short time, it should return the Container Name you just entered, this means it stopped successfully.
docker rm <container_id>
(optional)
Name | Default | Type | Description |
---|---|---|---|
botName |
N/A |
<string> |
The name of the bot [does not need to match username] |
debug |
false |
[bool] |
Enables debug features. |
devId |
N/A |
[string] |
User ID of the bot owner. |
discord |
N/A |
<url-string> |
Sets the Discord invite link. |
github |
N/A |
<url-string> |
Sets the GitHub repo link. |
throwInvalid |
false |
[bool] |
Toggles the !<command> is not a valid command. error message. |
version |
N/A |
<array> |
Defines the version. |