View Source ExGram.Middleware.IgnoreUsername (ex_gram v0.50.1)

Middleware that ignore the username in the command parameter.

/command@bot_username will be transformed to /command before handling the message

Summary

Functions

Callback implementation for ExGram.Middleware.call/2.

Callback implementation for ExGram.Middleware.init/1.

Functions

Callback implementation for ExGram.Middleware.call/2.

Callback implementation for ExGram.Middleware.init/1.