Fix message sent on guild invite

This commit is contained in:
Max Isom 2022-05-13 20:50:40 -04:00
parent de2d2b33d2
commit 2ed6ccef2f
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
2 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [Unreleased]
### Changed
- Fixed message sent on guild invite to better reflect new permission system
## [2.0.0] - 2022-05-13 ## [2.0.0] - 2022-05-13
### Changed ### Changed

View file

@ -40,5 +40,5 @@ export default async (guild: Guild): Promise<void> => {
} }
const owner = await guild.fetchOwner(); const owner = await guild.fetchOwner();
await owner.send('👋 Hi! Someone (probably you) just invited me to a server you own. I can\'t be used by your server members until you complete setup by running /config set-role in your server.'); await owner.send('👋 Hi! Someone (probably you) just invited me to a server you own. By default, I\'m usable by all guild member in all guild channels. To change this, check out the wiki page on permissions: https://github.com/codetheweb/muse/wiki/Configuring-Bot-Permissions.');
}; };