Ajout de la gestion des personnages avec des commandes personnalisées et intégration de la base de données
This commit is contained in:
commit
15b9549bcb
11 changed files with 70 additions and 0 deletions
10
GammaRPBot_Define.py
Normal file
10
GammaRPBot_Define.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
import discord
|
||||
import aiosqlite
|
||||
from discord.ext import commands
|
||||
from discord import app_commands
|
||||
class GammaRPBot(commands.Bot):
|
||||
db:aiosqlite.Connection
|
||||
def __init__(self,intents:discord.Intents):
|
||||
super().__init__(command_prefix="/",intents=intents)
|
||||
async def setup_hook(self)->None:
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue