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 ee517e0 commit 2ca4c16
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 2ca4c16

Please sign in to comment.