commit
2bdfee9645
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import discord
|
||||
from discord.ext import commands
|
||||
|
||||
class ExampleCog(commands.Cog):
|
||||
class PingCog(commands.Cog):
|
||||
|
||||
def __init__(self, client):
|
||||
self.client = client
|
||||
|
|
@ -17,4 +17,4 @@ class ExampleCog(commands.Cog):
|
|||
await ctx.send(f'Pong! `{round(client.latency * 1000)}ms`')
|
||||
|
||||
def setup(client):
|
||||
client.add_cog(ExampleCog(client))
|
||||
client.add_cog(PingCog(client))
|
||||
Loading…
Add table
Add a link
Reference in a new issue