Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/himbeersaftlp/magicalhourglass
A Discord bot for the PMMP community, originally made for the BoxOfDevs Discord.
https://github.com/himbeersaftlp/magicalhourglass
bot discord discord-js hacktoberfest nodejs pmmp
Last synced: about 1 month ago
JSON representation
A Discord bot for the PMMP community, originally made for the BoxOfDevs Discord.
- Host: GitHub
- URL: https://github.com/himbeersaftlp/magicalhourglass
- Owner: HimbeersaftLP
- License: gpl-3.0
- Created: 2017-05-05T21:10:28.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-25T15:24:38.000Z (about 2 months ago)
- Last Synced: 2024-10-09T23:04:37.815Z (about 1 month ago)
- Topics: bot, discord, discord-js, hacktoberfest, nodejs, pmmp
- Language: JavaScript
- Homepage:
- Size: 248 KB
- Stars: 21
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MagicalHourglass
[![Join the Discord Server](https://img.shields.io/discord/252874887113342976?logo=discord)](https://www.himbeer.me/discord)
A Discord bot for the PMMP community, originally made for the BoxOfDevs Discord.
## Changelog
### Version 2.0.0
- Complete refactoring
- Organise code into seperate classes
- Use ES modules instead of CommonJS module format
- Use `node-fetch` instead of `request`
- Use custom command handler instead of switch/case
- Use async/await instead of Promises
- More robust error handling
- Responses are now sent as proper replies
- Bot now responds to DMs
- Commands:
- Added slash commands
- Deprecated prefixed commands
- `github` command added
- Sends the same line preview as GitHub links in regular messages
- Responds with an error message instead of silently failing like the automatic preview
- Improvements: (apply to the old automatic line preview as well)
- Uses embed for more possible characters
- Support for selection of columns added
- Some bugfixes
- `announce` command added
- Used by the bot administrator to notify all servers about updates
- `help` rewrite
- can now get detailed help for individual commands
- is now automatically generated from the individual command data
- `channels` command now displays the new text chat in voice channels
- `s` command now shows the author
- `makesofe` command now accepts hexadecimal color codes with or without `#`
- `eval` command does not delete errors anymore
- `say` command has been removed
- `ai` command has been removed
- All responses regarding wrong usage now look consistent
- Some command outputs may have changed slightly
- Config changes
- JavaScript config instead of `config.json` because it's easier to load with ES-modules syntax
- Configuration values can now be given using environment variables, defaults set in `defaults.js`
- for the Docker image in `defaults.docker.js`
- Constants like the reaction alphabet are no longer in the config file
- Updated all dependencies