Skip to content

Commit

Permalink
Added Enum for Invalidating tokens.
Browse files Browse the repository at this point in the history
  • Loading branch information
JDJGInc committed Jun 6, 2023
1 parent 7c78343 commit 93985eb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions utils/extra.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations

import enum
import io
import os
import pathlib
Expand Down Expand Up @@ -277,3 +278,10 @@ async def asset_converter(ctx, assets):
images.append(ctx.author.display_avatar)

return images[:10]


class InvalidateType(enum.IntEnum):
everywhere = 0
guild = 1
dm = 2
channel = 3

0 comments on commit 93985eb

Please sign in to comment.