mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 23:37:54 +00:00
chore: code cleanup (mostly whitespace / remove unused imports)
This commit is contained in:
parent
56155782c3
commit
7afba4ea95
29 changed files with 84 additions and 105 deletions
|
|
@ -169,7 +169,8 @@ public static class ContextUtils
|
|||
if (currentPage < 0) currentPage += pageCount;
|
||||
|
||||
// If we can, remove the user's reaction (so they can press again quickly)
|
||||
if ((await ctx.BotPermissions).HasFlag(PermissionSet.ManageMessages)) try
|
||||
if ((await ctx.BotPermissions).HasFlag(PermissionSet.ManageMessages))
|
||||
try
|
||||
{
|
||||
await ctx.Rest.DeleteUserReaction(msg.ChannelId, msg.Id, reaction.Emoji, reaction.UserId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue