-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Imported topgg, but I keep getting this error:
"DBLClient" is not exported from module "topgg"Pylance[reportPrivateImportUsage](https://github.com/microsoft/pylance-release/blob/main/docs/diagnostics/reportPrivateImportUsage.md)
While my code has the necessary imports.
import os
import discord
from discord.ext import commands
from colorama import Fore, Style
import topgg
topgg_token = os.getenv('TOPGG_TOKEN')
if not topgg_token:
raise ValueError("TOPGG_TOKEN environment variable is not set.")
topgg_client = topgg.DBLClient(self.bot, topgg_token)
Why doesn't it work? I don't understand the issue.
Metadata
Metadata
Assignees
Labels
No labels