Capsify avatar var
This commit is contained in:
@@ -31,7 +31,7 @@ REDDIT_CLIENT_ID = os.environ['REDDIT_CLIENT_ID']
|
|||||||
REDDIT_CLIENT_SECRET = os.environ['REDDIT_CLIENT_SECRET']
|
REDDIT_CLIENT_SECRET = os.environ['REDDIT_CLIENT_SECRET']
|
||||||
REDDIT_CLIENT_USERAGENT = os.environ['REDDIT_CLIENT_USERAGENT']
|
REDDIT_CLIENT_USERAGENT = os.environ['REDDIT_CLIENT_USERAGENT']
|
||||||
|
|
||||||
avatar = "https://i.redd.it/0uajctrps9u41.jpg"
|
AVATAR = "https://i.redd.it/0uajctrps9u41.jpg"
|
||||||
|
|
||||||
# LOGGING
|
# LOGGING
|
||||||
logger = logging.getLogger("discord")
|
logger = logging.getLogger("discord")
|
||||||
|
|||||||
@@ -7,9 +7,6 @@ import discord
|
|||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
import random
|
import random
|
||||||
|
|
||||||
# IMPORTS - internal
|
|
||||||
from __main__ import avatar
|
|
||||||
|
|
||||||
# COG INIT
|
# COG INIT
|
||||||
class Utility(commands.Cog):
|
class Utility(commands.Cog):
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
@@ -39,7 +36,7 @@ class Utility(commands.Cog):
|
|||||||
inline=True)
|
inline=True)
|
||||||
link_embed.set_footer(
|
link_embed.set_footer(
|
||||||
text=f"Age: {age}, Uses: {uses}",
|
text=f"Age: {age}, Uses: {uses}",
|
||||||
icon_url=avatar
|
icon_url=ctx.me.avatar_url
|
||||||
)
|
)
|
||||||
|
|
||||||
await ctx.send(embed=link_embed)
|
await ctx.send(embed=link_embed)
|
||||||
|
|||||||
Reference in New Issue
Block a user