blob: e0074b114094e7160b3347ea395cbbe17539a49d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
import os
import discord
from dotenv import load_dotenv
from bigresult import BotClient
import random
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.reply("https://cdn.discordapp.com/attachments/427176475406630914/1302392181448900649/image.png?ex=6727f2bd&is=6726a13d&hm=6092f4fba06412feac26a16a6900bf6e6122d66506f60bfcc0bc7101ecede4db&")
@client.command(name="mod")
async def mod(ctx):
await ctx.reply(">>> *pees in ur ass*\nI am a bot and this action was performed automatically. Please contact the modertators of this server if you have any questions or concerns.")
@client.command(name="1984")
async def orwell(ctx):
await ctx.reply(f">>> {ctx.author} has been warned: \n\nBad word usage")
@client.command(name="teachmethebigresult")
async def teachbigresult(ctx):
await ctx.reply("take b36 with Nick Cheng. join the 'Big Result' club")
@client.commad(name="ivotedfor")
async def voot(ctx):
if (random.randint(1, 2) == 2):
await ctx.reply("Donald trump sweeep")
else:
await ctx.reply("Kamala harris sweeep")
client.run(TOKEN) # This actually starts our bot
|