Skip to main content
Venon Security slash commands

What is the /lotto slash command for in Venon Security for Discord?

/lotto belongs to the general category and is part of the Lotto module. An administrator or a moderator reaches for it when the action has to be fast, fully traceable in the logs and in line with Discord's permissions.

General

Category

Public

Permissions

4

Subcommands

What it does

What is the /lotto command for?

Server lotto: tickets, results and checking prizes

When to use it

Reach for /lotto when you need a repeatable administrative action without clicking through Discord's settings by hand. Venon Security watches the syntax, the permissions and the context, and the execution can later be tied to the moderation logs or the module's configuration.

Required permissions

The command requires the scope: Public. If Discord rejects the action, check the bot role's position in the hierarchy, the permissions on the channel and whether the module is enabled in the dashboard.

Syntax

Syntax of the /lotto command

Format

/lotto buy · /lotto ticket · /lotto mine · /lotto results

Angle brackets mark required parameters, square brackets optional ones. In slash commands Discord suggests the fields for you, so it is best to fill them straight from the suggestion list.

Example usage

/lotto buy numbers:value

Treat the example as a template. Swap the member, channel, role, reason or duration for the real situation on your server.

Parameters

Command parameters

/lotto buy

Buy a ticket for the next draw

/lotto buy numbers:value

/lotto ticket

Check your own ticket by number

/lotto ticket number:value

/lotto mine

Your recent tickets

/lotto mine

/lotto results

Current draw and the latest result

/lotto results

Problems

The most common problems

Missing permissions

Check whether the member and the bot both hold the required scope: Public.

Role hierarchy

For actions on members, the bot's role has to sit above the target's role.

Module disabled

If the command depends on a module, enable it in the dashboard and check the channel configuration.

Ready?

Add Venon Security and use /lotto with the full context

Slash commands work best alongside the dashboard, the logs and the protection modules. Add the bot to your server, read the documentation and set up your team's permissions.