Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mode to production in nitro #29

Merged
merged 1 commit into from
Apr 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions modules/nitro.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,13 +700,13 @@ async def nitroSpin(message):
# Command structure
# !c nitro spin [-e]

#nitroBoosts = await checkNitro(message, checkType="spin")
nitroBoosts = await checkNitro(message, checkType="spin")

# For debug purposes
with sqlite3.connect(DB_F) as conn:
c = conn.cursor()
c.execute(f"SELECT * FROM NitroBoosts WHERE Guild_ID={message.guild.id}")
nitroBoosts = c.fetchall()
# with sqlite3.connect(DB_F) as conn:
# c = conn.cursor()
# c.execute(f"SELECT * FROM NitroBoosts WHERE Guild_ID={message.guild.id}")
# nitroBoosts = c.fetchall()

flag = message.content.split(" ")[-1].strip().lstrip("[").rstrip("]").lower()
emb = discord.Embed()
Expand Down