Skip to content

Commit 903186a

Browse files
committed
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

Diff for: src/modules/helpchan.ts

+1-1
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)