pinger_bot.ext.commands.motd#

Module for the motd command.

Module Contents#

Functions#

get_fail_embed(→ hikari.embeds.Embed)

Get the embed for when the ping fails.

motd(→ None)

Ping the server and give information about it.

load(→ None)

Load the plugin.

Attributes#

plugin[source]#

lightbulb.Plugin object.

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.