Skip to content

Commit

Permalink
i guess guild update
Browse files Browse the repository at this point in the history
  • Loading branch information
elouangrimm authored Oct 28, 2024
1 parent 49516e1 commit 92d8523
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
bot = commands.Bot(command_prefix="!", intents=intents)

# BOT VARIABLES:
server_id = 1284250086003708025
username = "Tidy Tab Groups"
pfp_path = "pfp.png"
rich_presence = "Tab Organization"
Expand All @@ -36,10 +37,14 @@ async def on_ready():
url=extension_url
)
await bot.change_presence(activity=activity)
await bot.tree.sync()

test_guild_id = server_id
await bot.tree.sync(guild=discord.Object(id=test_guild_id))

send_daily_tip.start()
print(f"☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲ Bot logged in as {bot.user}! Success! ☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲")


def load_tips():
with open(tips_file, "r") as file:
tips = [line for line in file.read().splitlines() if not line.startswith("#")]
Expand Down

0 comments on commit 92d8523

Please sign in to comment.