lydia-discord-bot/cogs/basic.py

15 lines
279 B
Python

import discord
from discord.ext import commands
class Basic(commands.Cog):
def __init__(self,client):
self.client = client
@commands.command()
async def ping(self, ctx):
await ctx.send("pong!")
def setup(client):
client.add_cog(Basic(client))