Comments (3)
You could map all the activities like:
'Poker Night': '755827207812677713',
'Betrayal.io': '773336526917861400',
'Fishington.io': '814288819477020702',
'YouTube Together': '755600276941176913',
'Chess in the Park': '832012774040141894',
'Watch Together': '880218394199220334',
'Doodle Crew': '878067389634314250',
'Wood Snacks': '879863976006127627',
'Letter Tile': '879863686565621790'
And then create an invite like this:
await (client as any).api
.channels(channel.id)
.invites.post({
data: {
validate: null,
max_age: 10000,
max_uses: 0,
target_type: 2,
(the id of the activity from the map),
temporary: false
}
})
from bot.
(from): https://github.com/NotEnoughUpdates/bush-bot/blob/master/src/commands/utilities/activity.ts
from bot.
Not going to add this as it's be taking the sole feature of advaith's activities bot and Discord have said they aren't verifying any more bots with this feature so it's probably not a good idea to add it anyways.
from bot.
Related Issues (20)
- Bot keeps "thinking" when you try to set a managed role or a role above it as the muted role
- [SUGGESTION] Banner Command HOT 1
- [SUGGESTION] Improved ticket closed DMs
- [SUGGESTION] Use Crowdin's new "open-source project" beta feature for localization. HOT 4
- [BUG] When using Hytilities Reborn with the Log Scanner, it thinks itβs normal hytilities. HOT 1
- [SUGGESTION] Covid Command HOT 1
- [SUGGESTION] Ternary conditional operators for features like the welcome/leave messages. HOT 1
- [SUGGESTION] Allow adding only top or bottom text to the makeameme slash command HOT 3
- [BUG] Quoting system messages provides unexpected results HOT 1
- [SUGGESTION] Use the built-in Command Permissions v2 HOT 3
- [BUG] Bot prevents from changing nickname when a badname is in place
- [SUGGESTION] "purge-until" command HOT 3
- [SUGGESTION] Use MLM flag for pride command. HOT 1
- [SUGGESTION] Fire Channel Following HOT 1
- Discord Auto Mod HOT 1
- Trigger Tags which allows the tags to triggered upon a certain keyword[SUGGESTION] HOT 1
- [SUGGESTION] Ability to add logging excludes for bots such as pluralkit HOT 4
- Dockerfile doesn't appear to work properly HOT 8
- This happens when i try to run node index.js
- [BUG] Fire doesn't send the message for reminders HOT 6
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 bot.