-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsocial.py
36 lines (26 loc) · 885 Bytes
/
social.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from discord.ext import commands
from settings import SOCIALS
class Social(commands.Cog):
def __init__(self, bot):
self.bot = bot
self.invites = {}
@commands.hybrid_command()
async def github(self, ctx):
await ctx.send(SOCIALS["github"])
@commands.hybrid_command()
async def instagram(self, ctx):
await ctx.send(SOCIALS["instagram"])
@commands.hybrid_command()
async def linkedin(self, ctx):
await ctx.send(SOCIALS["linkedin"])
@commands.hybrid_command()
async def tiktok(self, ctx):
await ctx.send(SOCIALS["tiktok"])
@commands.hybrid_command()
async def udemy(self, ctx):
await ctx.send(SOCIALS["udemy"])
@commands.hybrid_command()
async def youtube(self, ctx):
await ctx.send(SOCIALS["youtube"])
async def setup(bot):
await bot.add_cog(Social(bot))