Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #narwhalter by snoopus
- import discord
- from discord.ext import commands
- from discord.ext.commands import Bot
- import asyncio
- bot = commands.Bot(command_prefix='!n ')
- print (discord.__version__)
- @bot.event
- async def on_ready():
- print ("ready u hecc")
- print ("i am running on" + bot.user.name)
- print ("with the id;" + bot.user.id)
- @bot.command(passcontext=True)
- async def ping(ctx):
- await bot.say("pong")
- print ("user has pinged")
- @bot.command(pass_context=True)
- async def info(ctx, user: discord.Member):
- await bot.say("The users name is: {}".format(user.name))
- await bot.say("The users ID is: {}".format(user.id))
- await bot.say("The users status is: {}".format(user.status))
- await bot.say("The users highest role is: {}".format(user.top_role))
- await bot.say("The user joined at: {}".format(user.joined_at))
- @bot.command(pass_context=True)
- async def kick(ctx, user: discord.Member):
- await bot.say(":boot: Cya {}. Ya Looser!".format(user.name))
- await bot.kick(user)
- @bot.command(pass_context=True)
- async def embed(ctx):
- embed = discord.Embed(title="test", description="dab on haters", color=0x00ff00)
- embed.set_footer(text="this is a footer")
- embed.set_author(name="Snoopus")
- embed.add_field(name="this is a field", value="no it isnt", inline=True)
- await bot.say(embed=embed)
- @bot.command(pass_context=True)
- async def narwhalter(ctx):
- embed = discord.Embed(title="Gib Narwhalter pics", description="https://drive.google.com/drive/folders/1ibAXVqhVuTnvxTNJooe7s7Qpi5DpDCVp?usp=sharing", color=0x00FFFF)
- embed.set_footer(text="Made by Snoopus")
- embed.set_author(name="Snoopus")
- embed.add_field(name="this is a field", value="no it isnt", inline=True)
- await bot.say(embed=embed)
- @bot.command(pass_context=True)
- async def speak(ctx):
- await bot.say("no u")
- @bot.command(pass_context=True)
- async def worms(ctx):
- await bot.say("how do they eat? how to they reproduce? how do they know how to reproduce if they cant see?")
- @bot.command(pass_context=True)
- async def marinara(ctx):
- await bot.say("is marinara spagetti sauce? or is it a not all rectangles are squares situation")
- @bot.command(pass_context=True)
- async def whatis(ctx):
- await bot.say("this command aint done yet ok")
- @bot.command(pass_context=True)
- async def whattimeisit(ctx):
- await bot.say(":ramen: :watch: https://imgur.com/pD3t2ME")
- @bot.command(pass_context=True)
- async def commandslist(ctx):
- embed = discord.Embed(title="Commands", description="I don't know how to make a website to show these commands so here u go", color=0x00ff00)
- embed.set_footer(text="Made by Snoopus")
- embed.set_author(name="Commands")
- embed.add_field(name="Heres the list", value="narwhalter, speak, worms, marinara, drawings, whattimeisit, whatis", inline=True)
- await bot.say(embed=embed)
- @bot.command(pass_context=True)
- async def drawings(ctx):
- embed = discord.Embed(title="link to snoopus' world renowned drawings", description="https://drive.google.com/drive/folders/1GlK3PzfYceZ-1Hi6xk2ZhX9yNdZcylIR?usp=sharing", color=0xE8FF00)
- embed.set_footer(text="Made by Snoopus")
- await bot.say(embed=embed)
- bot.run("token here")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement