Compare commits
6
Commits
5877807846
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a387a6ebe | ||
|
|
0c95903282 | ||
|
|
8ccbfcc67c | ||
|
|
f1857631be | ||
|
|
1ebc211be9 | ||
|
|
abe3cd9fb4 |
@@ -40,12 +40,6 @@ async def doccy_response():
|
||||
return resp
|
||||
|
||||
|
||||
@bot.command(hidden=True)
|
||||
@commands.is_owner()
|
||||
async def testfruit(ctx):
|
||||
fuit = fuit_response()
|
||||
await ctx.send(fuit)
|
||||
|
||||
async def build_response():
|
||||
|
||||
fuit = fuit_response()
|
||||
@@ -81,21 +75,27 @@ async def on_message(message):
|
||||
try:
|
||||
await message.channel.send(file=discord.File(response))
|
||||
except:
|
||||
pass
|
||||
if response.startswith("<https://"):
|
||||
pass
|
||||
if response.isupper():
|
||||
pass
|
||||
if response.startswith("<"):
|
||||
await message.channel.send(f"{response}")
|
||||
elif response.startswith(":"):
|
||||
await message.channel.send(f"{response}")
|
||||
elif random.randint(1, 5) == 1:
|
||||
await message.channel.send(f"{response}\n\n\n{footer}")
|
||||
else:
|
||||
await message.channel.send(f"{response}")
|
||||
if response.startswith("<https://"):
|
||||
pass
|
||||
if response.isupper():
|
||||
pass
|
||||
if response.startswith("<"):
|
||||
await message.channel.send(f"{response}")
|
||||
elif response.startswith(":"):
|
||||
await message.channel.send(f"{response}")
|
||||
elif random.randint(1, 5) == 1:
|
||||
await message.channel.send(f"{response}\n\n\n{footer}")
|
||||
else:
|
||||
await message.channel.send(f"{response}")
|
||||
|
||||
await bot.process_commands(message)
|
||||
|
||||
bot.load_extension('jishaku')
|
||||
bot.run(TOKEN)
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
await bot.load_extension('jishaku')
|
||||
print(f"[*] I am {bot.user} (ID: {bot.user.id})")
|
||||
game = discord.Game(name="https://traps.moe", activity=random.randint(0, 3))
|
||||
await bot.change_presence(status=discord.Status.online, activity=game)
|
||||
print("------")
|
||||
|
||||
bot.run(TOKEN)
|
||||
Reference in new issue
Block a user