Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
isirk authored Apr 2, 2021
1 parent 4524d91 commit f9eeee2
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import discord, os, json, tokens
import discord, tokens
from discord.ext import commands
Client = discord.Client()

client = commands.Bot(
bot = commands.Bot(
command_prefix=commands.when_mentioned,
status=discord.Status.dnd,
activity=discord.Activity(type=discord.ActivityType.watching, name='rickroll.com'),
Expand All @@ -12,8 +11,8 @@
intents=discord.Intents.default()
)

client.load_extension('jishaku')
client.load_extension('rickroll')
client.rickroll = {}

client.run(tokens.bot)
if __name__ == "__main__":
bot.load_extension('jishaku')
bot.load_extension('rickroll')
bot.rickroll = {}
bot.run(tokens.bot)

0 comments on commit f9eeee2

Please sign in to comment.