mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 15:44:57 +00:00
Update and rename Server Commands.py to server_commands.py
This commit is contained in:
parent
b938a83c21
commit
699378c45e
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ class ServerCommands(commands.Cog):
|
||||||
async def ip(self, ctx):
|
async def ip(self, ctx):
|
||||||
'Returns the server IP'
|
'Returns the server IP'
|
||||||
await ctx.send('play.totalfreedom.me')
|
await ctx.send('play.totalfreedom.me')
|
||||||
#pass # discordSRV responds already.
|
#pass #discordSRV responds already.
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
@is_staff()
|
@is_staff()
|
||||||
|
@ -163,4 +163,4 @@ class ServerCommands(commands.Cog):
|
||||||
await ctx.send(f'Fixed **{fixed}** reports')
|
await ctx.send(f'Fixed **{fixed}** reports')
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
bot.add_cog(ServerCommands(bot))
|
bot.add_cog(ServerCommands(bot))
|
Loading…
Reference in a new issue