Skip to content

Commit 4a419f7

Browse files
authored
Merge pull request #57 from D1ffic00lt/dev
2.0.0
2 parents 3457dab + 9481254 commit 4a419f7

File tree

20 files changed

+109
-118
lines changed

20 files changed

+109
-118
lines changed

bot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from discord.ext import commands
66

77
from botsections.functions.config import settings
8-
from botsections.functions.helperfunction import get_time, write_log
8+
from botsections.functions.additions import get_time, write_log
99
from database.db import Database
1010

1111

@@ -14,8 +14,8 @@ class DPcoinBOT(commands.Bot):
1414
"lvl", "db"
1515
)
1616

17-
def __init__(self, command_prefix: str, **kwargs) -> None:
18-
super().__init__(command_prefix, **kwargs)
17+
def __init__(self, command_prefix: str, *, intents: discord.Intents, **kwargs) -> None:
18+
super().__init__(command_prefix, intents=intents, **kwargs)
1919
self.lvl: int = 0
2020
self.db: Database = kwargs["db"]
2121
self.remove_command('help')

botsections/elements/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from discord.ext import commands
66
from discord.utils import get
77

8-
from botsections.functions.helperfunction import get_time, write_log
8+
from botsections.functions.additions import get_time, write_log
99
from database.db import Database
1010

1111
__all__ = (

botsections/elements/casino.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from datetime import datetime
99

1010
from database.db import Database
11-
from botsections.functions.helperfunction import (
11+
from botsections.functions.additions import (
1212
fail_rand,
1313
get_color, divide_the_number, casino2ch, get_time, write_log
1414
)

botsections/elements/debug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from email.mime.multipart import MIMEMultipart
1212
from email.mime.text import MIMEText
1313

14-
from botsections.functions.helperfunction import (
14+
from botsections.functions.additions import (
1515
get_time, write_log
1616
)
1717
from botsections.functions.json_ import Json

botsections/elements/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from discord.ext import commands
66
from typing import Union
77

8-
from botsections.functions.helperfunction import (
8+
from botsections.functions.additions import (
99
get_time, write_log
1010
)
1111
from botsections.functions.json_ import Json

botsections/elements/guild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from discord.utils import get
66

77
from botsections.functions.texts import need_settings
8-
from botsections.functions.helperfunction import divide_the_number, get_time, write_log
8+
from botsections.functions.additions import divide_the_number, get_time, write_log
99
from database.db import Database
1010

1111
__all__ = (

botsections/elements/public.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from discord.ext import commands
44
from datetime import datetime
55

6-
from botsections.functions.helperfunction import get_time, write_log
6+
from botsections.functions.additions import get_time, write_log
77
from botsections.functions.config import settings
88
from botsections.functions.texts import *
99
from database.db import Database

botsections/elements/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from PIL import Image, ImageFont, ImageDraw
88
from typing import Union
99

10-
from botsections.functions.helperfunction import (
10+
from botsections.functions.additions import (
1111
divide_the_number, create_emb,
1212
get_color, prepare_mask, crop,
1313
get_promo_code, get_time, write_log

botsections/global_events/new_year.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from database.db import Database
99
from botsections.functions.texts import *
10-
from botsections.functions.helperfunction import get_time, write_log
10+
from botsections.functions.additions import get_time, write_log
1111
from botsections.functions.config import settings
1212

1313
__all__ = (

0 commit comments

Comments
 (0)