Skip to content

Commit

Permalink
Fix join/leave log channel
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Jun 22, 2024
1 parent 2c14489 commit ee64905
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/join-leave-log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { time_to_human } from "../utils/strings.js";

export default class JoinLeaveLog extends BotComponent {
override async on_guild_member_add(member: Discord.GuildMember) {
await this.wheatley.channels.staff_message_log.send({
await this.wheatley.channels.staff_member_log.send({
embeds: [
new Discord.EmbedBuilder()
.setTitle("Member Joined")
Expand All @@ -33,7 +33,7 @@ export default class JoinLeaveLog extends BotComponent {
}

override async on_guild_member_remove(member: Discord.GuildMember | Discord.PartialGuildMember) {
await this.wheatley.channels.staff_message_log.send({
await this.wheatley.channels.staff_member_log.send({
embeds: [
new Discord.EmbedBuilder()
.setTitle("Member Left")
Expand All @@ -56,7 +56,7 @@ export default class JoinLeaveLog extends BotComponent {
old_member: Discord.GuildMember | Discord.PartialGuildMember,
new_member: Discord.GuildMember,
) {
await this.wheatley.channels.staff_message_log.send({
await this.wheatley.channels.staff_member_log.send({
embeds: [
new Discord.EmbedBuilder()
.setTitle("Member Updated")
Expand Down

0 comments on commit ee64905

Please sign in to comment.