mirror of
https://github.com/Rainyy21/lol_discordbot
synced 2026-10-11 00:40:31 -04:00
fix some bug that doesn't let user to sign in and connect with discord, added some test
This commit is contained in:
+2
-1
@@ -1,3 +1,4 @@
|
||||
import discord
|
||||
from discord import app_commands
|
||||
from discord.ext import commands
|
||||
import aiohttp
|
||||
@@ -23,7 +24,7 @@ class ProfileCog(commands.Cog):
|
||||
#check if user login
|
||||
if not user:
|
||||
await interaction.followup.send(
|
||||
"❌ You haven't linked your Riot account yet. Use `/login` first."
|
||||
"❌ You haven't linked your Riot account yet. Use `/signin` first."
|
||||
)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user