loadExtension

open suspend fun loadExtension(extension: String)

Reload an unloaded Extension from this bot, by name.

This function does not create a new extension object - it simply calls its setup() function. Loaded extensions can be unload again by calling unloadExtension.

This function simply returns if the extension isn't found.

Parameters

extension

The name of the Extension to unload.