mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: catch the correct exception in Paginate
This commit is contained in:
parent
11bd66e8d8
commit
e058d05224
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ namespace PluralKit.Bot {
|
|||
// If we get an "Unauthorized" error, we don't have permissions to remove our reaction
|
||||
// which means we probably didn't add it in the first place, or permissions changed since then
|
||||
// either way, nothing to do here
|
||||
catch (UnauthorizedException) { }
|
||||
catch (ForbiddenException) { }
|
||||
}
|
||||
|
||||
public static async Task<T> Choose<T>(this Context ctx, string description, IList<T> items, Func<T, string> display = null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue