Loco-CTO / Rystal-V6-Experiments

Doc line too long FLK-W505
Style
Minor
9 days ago2 months old
doc line too long (91 > 88 characters)
158        limit (int): The number of top users to retrieve.
159
160    Returns:
161        dict: A dictionary with user_id as key and their level, xp, and total_xp as values.162    """
163    if db_handler.db_type == "mysql":
164        db_handler.connection.ping(reconnect=True, attempts=3)
doc line too long (95 > 88 characters)
108    @staticmethod
109    def find_interaction(*args):
110        """
111        Finds and returns the first instance of nextcord.Interaction in the provided arguments.112
113        Args:
114            *args: Variable length argument list.
doc line too long (98 > 88 characters)
 69            perm_config (str): The permission configuration path.
 70
 71        Raises:
 72            ValueError: If perm_config is not provided or if an invalid database type is provided. 73            FileNotFoundError: If the permission config file is not found.
 74            YAMLError: If there is an error in the YAML format of the permission config.
 75        """
doc line too long (101 > 88 characters)
149
150        Args:
151            num_spins (int): The number of spins to simulate.
152            print_results (bool): If True, prints the results of each win and the overall statistics.153
154        Returns:
155            float: The winning percentage of the simulation.
doc line too long (97 > 88 characters)
137        Spins the wheel and checks if the result is a winning combination.
138
139        Returns:
140            tuple: A tuple containing a boolean indicating if it's a win and the list of columns.141        """
142        columns = self.spin_wheel()
143        won, mega_score, deficient_score = self.is_winning(columns)