Miscellaneous commands.
a.ping
-
Send a message
Send
, and edit its content with the guild's region and estimated message execution time. -
Example:
Pinging discord
server... Message response: 302.55ms (edited) - Note: The ping is estimated only and may somtimes show inaccurate result. (e.g. >700ms)
a.field(serid)
- Sends all members'
nickname
,user name
anduser id
in a server. - Parameters:
serid
The Server ID. You can usea.servers
- Example:
[USER] a.field 285366651312930818
[ANHATTAM]Member Nickname | User Name | User ID:?R. Danny =R. Danny (80528701850124288)
None =Nightbot (83010416610906112) - Note: Becuase of
Member.nick
is optional, Member Nickname may beNone
, which means it is equal to User Name.
a.servers
- Sends all
server.name
andserver.id
Anhattam can see. - Example:
chingdim.discord.guild (285366651312930818)
a.help [cmd [subcmd] ]
Sends how long Anhattam has been online and a link to readthedocs.io
* Opional parameters: cmd
and cmd subcmd
a.ctx
Sends attributes and methods Anhattam can find in a message context object from Discord.py
# Same as calling
str(dir(ctx))
# In Python!
- Note: This command was added for the sake of convenience.
a.invite
Sends the invitation link of Anhattam and the official guild.
a.perm(user, channel)
Sends a list of permissions that user
has in channel
.
Parameters:*
user : discord.User
You can tag or send the ID of the user.
channel : discord.Channel
You can tag or send the ID of the channel.