2018-12-23 13:48:15 +00:00
|
|
|
from discord.ext import commands
|
|
|
|
|
|
|
|
|
|
|
|
class Links:
|
|
|
|
"""
|
|
|
|
Commands for easily linking to projects.
|
|
|
|
"""
|
|
|
|
|
|
|
|
def __init__(self, bot):
|
|
|
|
self.bot = bot
|
|
|
|
|
|
|
|
@commands.command(hidden=True)
|
|
|
|
async def pegaswitch(self, ctx):
|
2018-12-23 19:06:32 +00:00
|
|
|
"""Link to the Pegaswitch repo"""
|
2018-12-23 13:48:15 +00:00
|
|
|
await ctx.send("https://github.com/reswitched/pegaswitch")
|
|
|
|
|
2018-12-23 19:06:32 +00:00
|
|
|
@commands.command(hidden=True, aliases=["atmos"])
|
2018-12-23 22:11:01 +00:00
|
|
|
async def atmosphere(self, ctx):
|
2018-12-23 19:06:32 +00:00
|
|
|
"""Link to the Atmosphere repo"""
|
|
|
|
await ctx.send("https://github.com/atmosphere-nx/atmosphere")
|
2018-12-23 22:11:01 +00:00
|
|
|
|
2018-12-23 19:06:32 +00:00
|
|
|
@commands.command(hidden=True, aliases=["guides"])
|
|
|
|
async def guide(self, ctx):
|
|
|
|
"""Link to the guide(s)"""
|
2018-12-23 22:11:01 +00:00
|
|
|
await ctx.send("*AtlasNX's Guide:* https://guide.teamatlasnx.com\n"
|
|
|
|
"*Noirscape's Guide:* http://switchguide.xyz/\n"
|
|
|
|
"*Pegaswitch Guide:* https://switch.hacks.guide/")
|
|
|
|
|
2018-12-23 13:48:15 +00:00
|
|
|
|
|
|
|
def setup(bot):
|
|
|
|
bot.add_cog(Links(bot))
|