12 lines
414 B
Python
12 lines
414 B
Python
from disnake.ext import commands
|
|
import disnake
|
|
import db
|
|
|
|
class User_Manager(commands.Cog):
|
|
@commands.Cog.listener() #Welcome Screen Listener
|
|
async def on_message_interaction(self,inter:disnake.MessageInteraction):
|
|
if not inter.component.custom_id.startswith("advert_welcome_"):
|
|
return
|
|
if inter.component.custom_id.partition("advert_welcome_")[2] == "social":
|
|
pass
|