File tree 1 file changed +18
-1
lines changed
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ async def not_your_personal_avengers(self, ctx):
79
79
# Cat command - to embed wholesomeness in chat
80
80
@commands .command (
81
81
name = "cat" ,
82
- help = "Command to add wholesomeness to chat."
82
+ help = "Command to add wholesomeness to chat...or change the subject "
83
83
)
84
84
async def cat (self , ctx ):
85
85
if await self .check_perms (ctx ):
@@ -93,6 +93,23 @@ async def cat(self, ctx):
93
93
else :
94
94
return
95
95
96
+ # Dog command - to embed more wholesomeness in chat
97
+ @commands .command (
98
+ name = "dog" ,
99
+ help = "Another command to add wholesomeness to chat...or change the subject."
100
+ )
101
+ async def dog (self , ctx ):
102
+ if await self .check_perms (ctx ):
103
+ async with aiohttp .ClientSession () as session :
104
+ async with session .get ('https://api.thedogapi.com/v1/images/search?format=json' ) as response :
105
+ html = json .loads (await response .text ())
106
+ emb = discord .Embed (description = f'Inu <3' , colour = 0x3CFF4C )
107
+ emb .set_footer (text = f"Cute isn't it/kawaii da ne?" )
108
+ emb .set_image (url = (html [0 ]["url" ]))
109
+ await ctx .send (embed = emb )
110
+ else :
111
+ return
112
+
96
113
# blackhat command
97
114
@commands .command (
98
115
name = "blackhat" ,
You can’t perform that action at this time.
0 commit comments