-
further improved
!weather
command(s)- support for more diverse queries
- weather forecast command(s)
- special weather statements & alerts command(s)
- space weather command(s)
-
!launch
command(s)- returns information about rocket launches
Hey, isn't that what this bot is made for???
- added formatting to
!taf
&!metar
-
🔴[BREAKING] updated
npm
to v9 from v8 in Docker -
🔴[BREAKING] updated
discordjs
to v14 from v13 -
added warning to the
npm start
command- with Docker working as intended, it is now recommended to only use Docker except for specific situations
- added
botName
toconfig.json
*
-
improved commands
!cookie
now works as intended with the limited permissions granted to the bot by default.!example
was updated to mirror new DiscordJS formats
-
fixed commands broken by updating discordjs from v13 to v14
- new embed class
- colors can no longer be represented as strings
- embed timestamps no longer support string date/time
-
main.js
has been massively overhauled -
improved weather commands
-
improved
!nasa
command- optional date parameter
- new alias (
apod
)
-
added
!png
command -
updated
!about
command -
updated
example.js
-
added
!help
command -
added
!invite
command -
other minor updates
- removed unused scripts & files
- updated
config.json
"throwInvalid": [bool]
toggles the!<command> is not a valid command.
error message"github": <url string>
sets the GitHub link used for different commands"version": <array>
defines different formats of the current version
- fixed deprecation warnings during install [#5]
- updated node packages
- updated to
npm v8
&Node LTS Gallium
-
added
Dockerfile
for containerization; check here for information on how to use it -
added instructions for running Docker & npm in
README.md
-
fixed
package.json
&package-lock.json
;npm install
should work with no issue (disregard deprecation warnings)- pruned
uwebsockets.js
to stop fatal install errors
- pruned
-
updated
CHANGELOG.md
to follow the markdown standard- fixed all "duplicate heading level 3" errors
- DMs are no longer monitored
- the
!weather
command embed now links to the location's webpage - the
!weather
command sectionwind gust
now shows the unit of measurement [m/s] - the
!weather
command no longer shows sections with no value (excluding description) - added asynchronous log/debug/warn/error for improved response times - questionably effective
- improved error handling
- improved code formatting consistency
- other minor fixes & small improvements
-
Discord bot
token
is now stored in the.env
file located in./CosmoQuestBot-master/
; enter it afterDISCORD_TOKEN=
- Example:
DISCORD_TOKEN="937it3ow87i4ery69876wqire"
- Example:
-
changed weather API from
weather-js (weather.service.msn.com)
toapi.openweathermap.org
- create an account here to receive your API key via email
- store the API key in the
.env
file located in./CosmoQuestBot-master/
; enter it afterWEATHER_API_KEY=
- Example:
WEATHER_API_KEY="bb5832afe13cefbd2bb1ad78a0200875"
- Example:
-
"This city doesn't exist." bot message when running
!weather
command should happen less often; use the format!weather <city name>, <US state name [optional]>, <country as alpha-2 (ISO 3166)>
for best results -
improved error handling & bot error messages
-
improved the
!say
command to allow for anyone with theADMINISTRATOR
permission to send a message as the bot -
improved the
!ping
command to report more information [API, Upload, & Download latency]
- removed Discord bot
token
fromconfig.json
located in./CosmoQuestBot-master/
; check under Fixes for more information