Comments (1)
This should be as simple as adding these lines:
https://github.com/ritsec/ops-bot-iii/blob/main/commands/slash/signin.go#L153-L197
to here:
https://github.com/ritsec/ops-bot-iii/blob/main/commands/slash/signin.go#L101
Some things to be careful with:
- change user to be the person executing command, should be something like
i.Member.User.ID
- change span context to match execution block (use
span
instead ofspan_signinSlug
) - refactor interaction respond to command executer (interactions can only be responded to once, respond on error, or once at the end with the new information that they have also been signed in)
If you have any question's don't be afraid to reach out
from ops-bot-iii.
Related Issues (20)
- Simplify Slash Commands
- Shitposting Leaderboard
- Allow Kudos for Multiple User
- /alumni Slash Command to Convert Members to Alumni
- `logging/buttons.go` Invalid Emoji HOT 1
- Research Grant Request Form Discord Ping HOT 3
- Role join button for birdos HOT 1
- Chase's "Guys what do I do" post in #shitposting not in 1st place on scoreboard when it should be HOT 2
- Change DFIR IG to IR IG HOT 1
- Have the user's username next to the userID in the query
- New slash command to check how many sign-ins you have
- Add Schedule Announcement Command
- Do not delete verification requests after assigning the role
- Save the message contents before it gets purged with /purge
- Missing case for Deny in /member for verification requests
- More detailed audit and member approval details logging
- Just verified members not getting the role
- Adding the ability to query the amount of signins for a member
- Add Stack Account Self-Service Features
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 ops-bot-iii.