SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 27/01/2017, 11:52 AM   #81
Yaa
Banned
 
Join Date: May 2016
Location: = GetPlayerHouse("Yaa", 0.2);
Posts: 630
Reputation: 42
Default Re: Discord for SA-MP?

Quote:
Originally Posted by azzerking View Post
Things to add to discord bot:

- Handle Commands, with prefix ( @ is taken by discord )
- User Management, ( kick, ban, move user, etc )
- Text Channel Management, ( Create, Delete, Set Group, Set User Limit, Mute, etc )
- Voice Channel Management, ( Same as text )
- Also a Raw Event Handler ( ability to send and see raw information )
Some extra functions
- isUserTalking
- getUserGroup
- isUserBot
- getUserStatus ( in the left sidebar, it will tell you if they are playing a game and similar information )
- isUserOnline ( not sure about this, but Discord shows users even if offline, so not sure if you would need to check the user is online, if user uses @mention it could be useful for commands )
- isUserInVoiceChannel
- getVoiceChannelName
- isUserInTextChannel
- getTextChannelName
- getConnectedTime
- getUserInfo ( Should display discord tag, and any relevant information )
- makeChannelInviteLink

I'm hoping this will give you enough information to add more functionality.

If you want I can dig further into the API, and make a list of more commands and features if you would like.
well about administrative commands and levels must be scripted due the owner can create his own groups with the permissions he want
Yaa is offline   Reply With Quote
Old 27/01/2017, 12:08 PM   #82
Sew_Sumi
High-roller
 
Join Date: Jun 2008
Posts: 4,957
Reputation: 369
Default Re: Discord for SA-MP?

Quote:
Originally Posted by Yaa View Post
well about administrative commands and levels must be scripted due the owner can create his own groups with the permissions he want
There's a polite way to say things... There's no "must" in this, it's a want.

Still, they probably will do it, but just be polite about it...
Sew_Sumi is offline   Reply With Quote
Old 05/02/2017, 01:07 PM   #83
justice96
Guest
 
Posts: n/a
Default Re: Discord for SA-MP?

That is enough. Well done @maddinat0r. I'd use it once the project is released.
  Reply With Quote
Old 05/02/2017, 08:01 PM   #84
Chaprnks
Gangsta
 
Chaprnks's Avatar
 
Join Date: Sep 2007
Location: Soviet America
Posts: 672
Reputation: 41
Default Re: Discord for SA-MP?

I was so excited to see maddinat0r's plugin released; unfortunately it seems to hang the server (probably cause its not fully ready) :P
__________________
Chaprnks is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 05:14 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.