Skip to content

Commit 6db64a6

Browse files
buildbuild
authored andcommitted
ratelimit
1 parent 80c2603 commit 6db64a6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

BaroBot/Commands/SteamCommands/SyncCommand.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,11 @@ public async Task Sync()
5353
toRemove.Add(Context.Guild.GetRole(category.RoleId));
5454
}
5555

56+
await DeferAsync();
57+
5658
await socketGuildUser.AddRolesAsync(toAdd);
5759
await socketGuildUser.RemoveRolesAsync(toRemove);
58-
await RespondAsync("Successfully synced games.");
60+
61+
await FollowupAsync("Successfully synced games.");
5962
}
6063
}

0 commit comments

Comments
 (0)