style: Fix indentation in HelloWorldCog for consistency
This commit is contained in:
parent
101d5ab489
commit
e75aa2d234
@ -1,14 +1,14 @@
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
from discord.ext import commands
|
||||
|
||||
class HelloWorldCog(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
class HelloWorldCog(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
|
||||
@commands.command(name="helloworld")
|
||||
async def helloworld(self, ctx):
|
||||
"""Responds with 'Hello World!'"""
|
||||
await ctx.send("Hello World!")
|
||||
@commands.command(name="helloworld")
|
||||
async def helloworld(self, ctx):
|
||||
"""Responds with 'Hello World!'"""
|
||||
await ctx.send("Hello World!")
|
||||
|
||||
async def setup(bot):
|
||||
await bot.add_cog(HelloWorldCog(bot))
|
||||
async def setup(bot):
|
||||
await bot.add_cog(HelloWorldCog(bot))
|
Loading…
x
Reference in New Issue
Block a user