it.discordbot.command.image.lorempicsum / LoremPicsumCommand

LoremPicsumCommand

@Scope("singleton") @Component class LoremPicsumCommand

Constructors

<init>

LoremPicsumCommand()

Properties

imageCommandProxy

lateinit var imageCommandProxy: ImageCommandProxy

ImageCommandProxy

loremPicsumRetreiver

lateinit var loremPicsumRetreiver: LoremPicsumRetreiver

LoremPicsumRetreiver

stateMachines

val stateMachines: HashMap<String, StateMachine>

HashMap<String, StateMachine> mappa per contenere le macchine a stati

Functions

customPicsum

fun customPicsum(event: MessageReceivedEvent): Unit

getRandomPicsumImage

fun getRandomPicsumImage(): String

onGuildMessageReactionAdd

fun onGuildMessageReactionAdd(event: GuildMessageReactionAddEvent): Unit

onGuildMessageReceived

fun onGuildMessageReceived(event: GuildMessageReceivedEvent): Unit