mirror of
https://github.com/idanoo/GoDiscMoji
synced 2025-07-22 18:49:09 +00:00
Fix missing refs
This commit is contained in:
parent
659a4a3176
commit
ccedfe0540
1 changed files with 2 additions and 2 deletions
|
@ -253,7 +253,7 @@ func addAutoScrubber(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
err := startScrubbingUser(i.GuildID, user.ID)
|
err := scrub.startScrubbingUser(i.GuildID, user.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
slog.Error("Error starting auto scrubber", "err", err, "guild_id", i.GuildID, "user_id", user.ID)
|
slog.Error("Error starting auto scrubber", "err", err, "guild_id", i.GuildID, "user_id", user.ID)
|
||||||
s.InteractionRespond(i.Interaction, &discordgo.InteractionResponse{
|
s.InteractionRespond(i.Interaction, &discordgo.InteractionResponse{
|
||||||
|
@ -300,7 +300,7 @@ func removeAutoScrubber(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
err := stopScrubbingUser(i.GuildID, user.ID)
|
err := scrub.stopScrubbingUser(i.GuildID, user.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
s.InteractionRespond(i.Interaction, &discordgo.InteractionResponse{
|
s.InteractionRespond(i.Interaction, &discordgo.InteractionResponse{
|
||||||
Type: discordgo.InteractionResponseChannelMessageWithSource,
|
Type: discordgo.InteractionResponseChannelMessageWithSource,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue