-
Notifications
You must be signed in to change notification settings - Fork 0
V. Commands
These are commands that must be actively called by a user to take effect. Along with the command call itself (i.e. !command), they often require, or optionally allow, several other parameters to be given. Parameters are positional by Discord's restrictions, meaning the orders and amount will always matter.
- Everything is cASe-SenSiTIve.
- Position matters.
- Channel matters.
- Your roles matter.
- Good Practice: Put all your parameters inside quotes like "this".
@bot.command(name='interview',
brief=" = Begins an interview with whichever "Guest" calls it.",
description="Begins an interview with whoever calls it. After completion and submission of the interview, it will create an entry in the long-term JSON file.")
@commands.has_role('Guest')
@commands.cooldown(1, 1800, commands.BucketType.user)
async def dm(ctx):This function has no parameters, and can only be called on its own with no modifiers. It has a few requirements:
- You must have the "Guest" role to call it
- You must be in the specified channel, in this case,
#request-orientation
It starts a DM with the user who called it, then works in tandem with the event handler, on_raw_reaction_add, to identify the user's choices and submit them into the designated orientation logging channel. Simultaneously, upon submission by the user, it will add them into the long-term JSON file logs. After that it will simply wait for approval or denial of the log before moving on, making changes to the user's roles and nickname, and finalizing their admission/denial to/from the org.
| Home
| INVFED Website
| INVFED RSI Page
| INVFED Discord Server
| Turtle-12 GitHub
| Please report issues on the issues page.
|
This is an unofficial Star Citizen tool, not affiliated with the Cloud Imperium group of companies. All content on this site not authored by its host or users are property of their respective owners. This project is not endorsed by or affiliated with the Cloud Imperium or Roberts Space Industries group of companies. All game content and materials are copyright Cloud Imperium Rights LLC, Cloud Imperium Rights Ltd, Star Citizen®, Squadron 42®, Roberts Space Industries®, and Cloud Imperium® are registered trademarks of Cloud Imperium Rights LLC. All rights reserved.