style: Fix indentation in HelloWorldCog for consistency

This commit is contained in:
Slipstream 2025-05-31 19:01:49 -06:00
parent 101d5ab489
commit e75aa2d234
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -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))