Skip to content

Commit

Permalink
docs: fix ban example
Browse files Browse the repository at this point in the history
  • Loading branch information
ImRodry committed Feb 13, 2022
1 parent a56b6e1 commit a39528c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/GuildMember.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ class GuildMember extends Base {
* @returns {Promise<GuildMember>}
* @example
* // ban a guild member
* guildMember.ban({ days: 7, reason: 'They deserved it' })
* guildMember.ban({ deleteMessageDays: 7, reason: 'They deserved it' })
* .then(console.log)
* .catch(console.error);
*/
Expand Down

0 comments on commit a39528c

Please sign in to comment.