Giter Club home page Giter Club logo

Comments (3)

pauliesnug avatar pauliesnug commented on June 18, 2024

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.

pauliesnug avatar pauliesnug commented on June 18, 2024

(from): https://github.com/NotEnoughUpdates/bush-bot/blob/master/src/commands/utilities/activity.ts

from bot.

GamingGeek avatar GamingGeek commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.