VERY BASIC implementation
This commit is contained in:
@@ -3,6 +3,7 @@ import sqlite3
|
||||
from discord import app_commands
|
||||
from BlackJack import BlackJack
|
||||
from Calculator import Calculator
|
||||
from Gamepicker import pick_game
|
||||
|
||||
botIntents = discord.Intents.all()
|
||||
|
||||
@@ -113,6 +114,17 @@ async def calculator(interaction: discord.Interaction):
|
||||
calculator = Calculator()
|
||||
await interaction.followup.send(content="`" + " " * calculator.MAXIMUMBARSIZE + "0`", view=calculator)
|
||||
|
||||
|
||||
"""
|
||||
#### Game Picker ####
|
||||
"""
|
||||
@tree.command(description="Pick a game")
|
||||
async def gimmegame(interaction: discord.Interaction):
|
||||
|
||||
game = pick_game()
|
||||
await interaction.response.send_message(game)
|
||||
|
||||
|
||||
"""
|
||||
#### Fin ####
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user