Comments (3)
// LoadCommands is called on initialisation and is responsible for registering
// all commands and binding them to functions.
func LoadCommands() map[string]Command {
return map[string]Command{
"verify": {
Function: commandVerify,
Source: CommandSourcePRIVATE,
Description: "Verify you are the owner of a SA:MP forum account",
Usage: "verify",
RequireVerified: false,
RequireAdmin: false,
},
}
}
Todo: a way for a command context to continue even after the command has been issued, so until the context has been declared finished, extra messages can contain any text and will be sent to the context of the command.
The use case for this is to implement the command framework but still allow users to submit arbitrary text for the "provide user account URL" stage of the verification process.
from cj.
Now working on this in command-framework.
from cj.
Should we close this?
from cj.
Related Issues (20)
- /stats command uses deprecated API link HOT 1
- let /rep take more than 1 emoji HOT 1
- A /mytop command to show user's rank.
- change /stats to something funny HOT 2
- add @coool9 as contributor HOT 1
- Support slash-commands HOT 1
- Dependabot can't resolve your Go dependency files HOT 1
- Dependabot can't resolve your Go dependency files
- Dependabot can't resolve your Go dependency files
- Dependabot can't resolve your Go dependency files HOT 1
- Dependabot can't resolve your Go dependency files
- add antispam features
- Show emoji in /toprep if no results found and an emoji parameter was passed
- /postcode command HOT 2
- Deploy credentials are expired/invalid HOT 1
- /changelog command to show recent changes
- Ability to download one's messages stored in cj's database
- Don't save bot messages.
- Don't show the commands that can't be used in the list
- /rep command doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cj.