Skip to content

Commit

Permalink
v0.2.5-b
Browse files Browse the repository at this point in the history
Merge pull request #17 from Hamziee/dev
  • Loading branch information
Hamziee authored Apr 14, 2024
2 parents 82d47cb + 4936b21 commit 10ae40c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions commands/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ async def fun_button(self, interaction: discord.Interaction, button: discord.ui.
color=discord.Colour.blurple(),
title="Ava | Enjoyable Commands",
description="Here is some information about my commands :)")
embed.add_field(name='/chat', value='Chat with my AI!', inline=False)
embed.add_field(name='/cats', value='Get your daily dose of cat pictures!', inline=False)
embed.add_field(name='/dogs', value='Get your daily dose of dog pictures!', inline=False)
embed.set_footer(text=f"Ava | version: {AVA_VERSION}", icon_url="https://cdn.discordapp.com/avatars/1209925239652356147/38e76bc9070eb00f2493b6edeab22b33.webp")
Expand Down
5 changes: 5 additions & 0 deletions commands/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
from async_timeout import timeout
from discord.ext import commands

import config
PREFIX = config.PREFIX
AVA_VERSION = config.AVA_VERSION

# Silence useless bug reports messages
youtube_dl.utils.bug_reports_message = lambda: ''

Expand Down Expand Up @@ -148,6 +152,7 @@ def create_embed(self):
.add_field(name='Duration', value=self.source.duration)
.add_field(name='Requested by', value=self.requester.mention)
.add_field(name='Uploader', value='[{0.source.uploader}]({0.source.uploader_url})'.format(self))
.set_footer(text=f"Ava | version: {AVA_VERSION}", icon_url="https://cdn.discordapp.com/avatars/1209925239652356147/38e76bc9070eb00f2493b6edeab22b33.webp")
# .add_field(name='URL', value='[Click]({0.source.url})'.format(self))
.set_thumbnail(url=self.source.thumbnail))

Expand Down
2 changes: 1 addition & 1 deletion ex_config (change me to config.py).py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AVA_VERSION='v0.2.4-b' # Do not change this, it will help with troubleshooting later
AVA_VERSION='v0.2.5-b' # Do not change this, it will help with troubleshooting later

PREFIX = '$' # deprecated, only used for admin and music commands.
OWNER_ID = 496673945211240462 # used for admin commands and ChatAI recognition.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ discord.py==2.3.2
colorama==0.4.6
PyNaCl==1.5.0
async-timeout==4.0.3
yt_dlp==2024.3.10
yt_dlp==2024.4.9
cogwatch==3.3.1
httpx==0.27.0

0 comments on commit 10ae40c

Please sign in to comment.