File tree Expand file tree Collapse file tree 6 files changed +22
-2
lines changed
Expand file tree Collapse file tree 6 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1+ [MESSAGES CONTROL]
2+ disable =
3+ too-few-public-methods,
4+ broad-except
5+
6+ [MASTER]
7+ ignore-patterns =test_.*\.py
8+
9+ [FORMAT]
10+ max-line-length =100
11+
12+ [REPORTS]
13+ output-format =colorized
14+ reports =no
Original file line number Diff line number Diff line change 22This is the __init__.py file for the GuildMaster package.
33It initializes the package and sets the version.
44"""
5- __version__ = "1.1.1"
5+
6+ __version__ = "1.1.1"
Original file line number Diff line number Diff line change 22# guildmaster.cli
33A command line interface for managing Discord server tasks and settings.
44"""
5+
56import sys
67import fire
78from guildmaster .tasks .role_manager import DiscordRoleManager
Original file line number Diff line number Diff line change 33A module for managing the Discord client connection.
44This module provides functionality to connect to Discord using a bot token.
55"""
6+
67import os
78import discord
89from discord .ext import commands
@@ -14,6 +15,7 @@ class DiscordClient:
1415 """
1516 A class for managing the Discord client connection.
1617 """
18+
1719 def __init__ (self ):
1820 intents = discord .Intents .default ()
1921 intents .members = True
Original file line number Diff line number Diff line change 11"""
22A module for configuring logging in the GuildMaster application.
33"""
4+
45import logging
56
67
78class Logger :
89 """
910 A class for setting up a logger for the GuildMaster application.
1011 """
11-
12+
1213 @staticmethod
1314 def setup_logger (name : str , level : int = logging .INFO ) -> logging .Logger :
1415 """
Original file line number Diff line number Diff line change 33A module for managing roles in a Discord server.
44This module provides functionality to assign a specific role to all members of a Discord server.
55"""
6+
67import asyncio
78import discord
89from tqdm .asyncio import tqdm
You can’t perform that action at this time.
0 commit comments