Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit 0915e84

Browse files
committed
fixed KeyError '!globals'
1 parent 88413af commit 0915e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord_ui/slash/types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1636,7 +1636,7 @@ async def nuke(self, globals=True, guilds=All):
16361636
>>> await commands.nuke(globals=False, guilds=[814473329325899787])
16371637
"""
16381638
if guilds is All:
1639-
guilds = self._cache["!globals"]
1639+
guilds = self["!globals"]
16401640
if guilds is None:
16411641
guilds = []
16421642
if globals is True:

0 commit comments

Comments
 (0)