Raised This Month: $51 Target: $400
 12% 

[ANY] Discord/Slack API (CallAdmin, SourceBans, ...)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 01-12-2017 , 21:43   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #8

Nice plugin zipcore, thank you!

For anyone wondering how to mention specific roles besides @here or @everyone, let's use an example:

You want to mention the @admins role. First we need to get the Role ID. You can do this by typing \@admins in your discord server, this will output a string similar to this: <@&164103385761892222>

So then in discord_calladmin.cfg we'll have this:
discord_calladmin_mention "<@&164103385761892222>"

and ta-da, you're done! Figured that would be helpful since it took me a little while to figure out how to do this, d'oh!
__________________

Last edited by sneaK; 01-12-2017 at 21:43.
sneaK is offline
 



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

Forum Jump


All times are GMT -4. The time now is 05:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode