Skip to content

Commit

Permalink
Update packages/guilded.js/lib/managers/global/GuildBanManager.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zaida04 authored Mar 19, 2024
1 parent 80030a9 commit ec4126b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/guilded.js/lib/managers/global/GuildBanManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class GlobalGuildBanManager extends CacheableStructManager<string, Member
* @param userId The ID of the user.
* @returns A Promise that resolves with the newly created member ban.
*/
async ban(serverId: string, userId: string, reason: string): Promise<MemberBan> {
async ban(serverId: string, userId: string, reason?: string): Promise<MemberBan> {
const data = await this.client.rest.router.memberBans.serverMemberBanCreate({
serverId,
userId,
Expand Down

0 comments on commit ec4126b

Please sign in to comment.