pinger_bot.ext.commands.motd#
Module for the motd command.
Module Contents#
Functions#
|
Get the embed for when the ping fails. |
|
Ping the server and give information about it. |
|
Load the |
Attributes#
|
- plugin[source]#
lightbulb.Pluginobject.
- async get_fail_embed(ip: str) hikari.embeds.Embed[source]#
Get the embed for when the ping fails.
See source code for more information.
- Parameters:
ip – The IP address of the server to reference in text.
- Returns:
The embed where ping failed.
- async motd(ctx: lightbulb.context.slash.SlashContext, ip: str) None[source]#
Ping the server and give information about it.
- Parameters:
ctx – The context of the command.
ip – The IP address of the server to ping.
- load(bot_instance: pinger_bot.bot.PingerBot) None[source]#
Load the
plugin.