Skip to content

Commit

Permalink
fixed example
Browse files Browse the repository at this point in the history
  • Loading branch information
itsflorent committed May 5, 2022
1 parent 158c013 commit bf7d400
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import discord # USING py-cord
import discord # USING py-cord (https://pypi.org/project/py-cord/)
from dbleupy import dbleu_postservercount, dbleu_getbotvotes, dbleu_getbotdata
from discord.ext import commands
from discord.ext import commands, tasks


intents = discord.Intents.all()
bot = commands.Bot(command_prefix=commands.when_mentioned_or("-"), intents=intents)
Expand All @@ -9,6 +10,8 @@

@bot.event
async def on_ready():

# Start auto_post()
auto_post.start()

print(f"Online as {bot.user.name}")
Expand Down

0 comments on commit bf7d400

Please sign in to comment.