Merge pull request #297 from aiko-chan-ai/dev

Update
This commit is contained in:
Cinnamon
2022-09-09 23:49:13 +07:00
committed by GitHub
10 changed files with 112 additions and 24 deletions

View File

@@ -394,7 +394,7 @@ class GuildMemberManager extends CachedManager {
* .then(banInfo => console.log(`Banned ${banInfo.user?.tag ?? banInfo.tag ?? banInfo}`))
* .catch(console.error);
*/
ban(user, options = { days: 0 }) {
ban(user, options) {
return this.guild.bans.create(user, options);
}