Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 903186a

Browse files
committedMar 23, 2021
Fix: set !claim command sets embed asker correctly
It was setting the person who wrote "!claim", rather than the person who the channel was being claimed for.
1 parent b8baf21 commit 903186a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/modules/helpchan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ export class HelpChanModule extends Module {
472472
);
473473

474474
await toPin.pin();
475-
const occupied = this.occupiedEmbed(msg.author);
475+
const occupied = this.occupiedEmbed(member);
476476
await this.updateStatusEmbed(claimedChannel, occupied);
477477
await this.addCooldown(member, claimedChannel);
478478
await this.moveChannel(claimedChannel, categories.ongoing);

0 commit comments

Comments
 (0)
Please sign in to comment.