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