blob: 5c22de2329cb323a714f93b5ad550c2524889c16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import os
import discord
from dotenv import load_dotenv
from bigresult import BotClient
from discord.ext import commands
load_dotenv()
TOKEN = os.getenv('DISCORD_TOKEN')
intents = discord.Intents.all()
client = BotClient(intents=intents, command_prefix="!") # This represents our connection with Discord
@client.command(name="bigresult")
async def teach(ctx):
await ctx.send("https://cdn.discordapp.com/attachments/427176475406630914/1302392181448900649/image.png?ex=6727f2bd&is=6726a13d&hm=6092f4fba06412feac26a16a6900bf6e6122d66506f60bfcc0bc7101ecede4db&")
client.run(TOKEN) # This actually starts our bot
|