Skip to content

Commit

Permalink
Add UserData framework module support
Browse files Browse the repository at this point in the history
  • Loading branch information
notsniped committed Oct 23, 2023
1 parent 6ad9acc commit 19501c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
from math import floor
from random import randint
from framework.isobot import currency, colors, settings
from framework.isobot.db import levelling, items
from framework.isobot.db import levelling, items, userdata
from discord import ApplicationContext, option
from discord.ext import commands
from cogs.economy import new_userdat
from cogs.isocoin import create_isocoin_key

# Slash option types:
Expand Down Expand Up @@ -57,6 +56,7 @@ def save():
settings = settings.Configurator()
levelling = levelling.Levelling()
items = items.Items()
userdata = userdata.UserData()

# Theme Loader
themes = False # True: enables themes; False: disables themes;
Expand Down Expand Up @@ -96,7 +96,7 @@ async def on_message(ctx):
currency.new_wallet(ctx.author.id)
currency.new_bank(ctx.author.id)
create_isocoin_key(ctx.author.id)
new_userdat(ctx.author.id)
userdata.generate(ctx.author.id)
settings.generate(ctx.author.id)
items.generate(ctx.author.id)
levelling.generate(ctx.author.id)
Expand Down

0 comments on commit 19501c9

Please sign in to comment.