Skip to content
Snippets Groups Projects
Commit 0fbeacdc authored by Reviath's avatar Reviath
Browse files

You are now able to config the bot on http://localhost:5000

parent cf6c6ed9
Branches
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ import mysql.connector ...@@ -6,6 +6,7 @@ import mysql.connector
import datetime import datetime
import sys import sys
import inspect import inspect
import discordbotdash.dash as dbd
intents = discord.Intents().all() intents = discord.Intents().all()
...@@ -352,6 +353,7 @@ async def on_member_remove(member): ...@@ -352,6 +353,7 @@ async def on_member_remove(member):
@client.event @client.event
async def on_ready(): async def on_ready():
dbd.openDash(client, port = 5000)
log = client.get_channel(790640302452375562) log = client.get_channel(790640302452375562)
await client.change_presence(activity=discord.Game("Prefix: !")) await client.change_presence(activity=discord.Game("Prefix: !"))
print(client.user.display_name + '#' + client.user.discriminator + ' is ready!') print(client.user.display_name + '#' + client.user.discriminator + ' is ready!')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment