@@ -193,15 +193,9 @@ async def userinfo(self, ctx, *, member : discord.Member=None):
193
193
@commands .command (aliases = ['bot' , 'info' ])
194
194
async def about (self , ctx ):
195
195
'''See information about the selfbot and latest changes.'''
196
- cmd = r'git show -s HEAD~3..HEAD --format="[{}](https://github.com/verixx/selfbot/commit/%H) %s (%cr)"'
197
- if os .name == 'posix' :
198
- cmd = cmd .format (r'\`%h\`' )
199
- else :
200
- cmd = cmd .format (r'`%h`' )
201
196
202
- revision = '\n ' .join (os .popen (cmd ).read ().strip () .splitlines ()[:3 ])
203
197
embed = discord .Embed ()
204
- embed .url = 'https://discord.gg/pmQSbAd '
198
+ embed .url = 'https://selfbot-py.tk '
205
199
embed .colour = await ctx .get_dominant_color (ctx .author .avatar_url )
206
200
207
201
embed .set_author (name = 'selfbot.py' , icon_url = ctx .author .avatar_url )
@@ -230,8 +224,12 @@ async def about(self, ctx):
230
224
if days :
231
225
fmt = '{d}d ' + fmt
232
226
uptime = fmt .format (d = days , h = hours , m = minutes , s = seconds )
233
- if revision :
234
- embed .add_field (name = 'Latest Changes' , value = revision )
227
+
228
+ github = '[Click Here](https://github.com/verixx/selfbot.py/)'
229
+ server = '[Click Here](https://discord.gg/pmQSbAd)'
230
+ website = '[selfbot-py.tk](http://selfbot-py.tk/)'
231
+
232
+
235
233
embed .add_field (name = 'Author' , value = 'verixx#7220' )
236
234
embed .add_field (name = 'Uptime' , value = uptime )
237
235
embed .add_field (name = 'Guilds' , value = len (self .bot .guilds ))
@@ -240,6 +238,9 @@ async def about(self, ctx):
240
238
memory_usage = self .bot .process .memory_full_info ().uss / 1024 ** 2
241
239
cpu_usage = self .bot .process .cpu_percent () / psutil .cpu_count ()
242
240
embed .add_field (name = 'Process' , value = f'{ memory_usage :.2f} MiB\n { cpu_usage :.2f} % CPU' )
241
+ embed .add_field (name = 'Github' , value = github )
242
+ embed .add_field (name = 'Discord' , value = server )
243
+ embed .add_field (name = 'Website' , value = website )
243
244
embed .set_footer (text = f'Powered by discord.py { discord .__version__ } ' )
244
245
await ctx .send (embed = embed )
245
246
0 commit comments