mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Fix config conversion in image cog (#3617)
This commit is contained in:
parent
4e4420af2e
commit
0ff000d660
@ -30,7 +30,7 @@ class Image(commands.Cog):
|
||||
imgur_token = await self.settings.imgur_client_id()
|
||||
if imgur_token is not None:
|
||||
if not await self.bot.get_shared_api_tokens("imgur"):
|
||||
await self.bot.set_shared_api_tokens(client_id=imgur_token)
|
||||
await self.bot.set_shared_api_tokens("imgur", client_id=imgur_token)
|
||||
await self.settings.imgur_client_id.clear()
|
||||
|
||||
@commands.group(name="imgur")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user