Class UserChangeNameEventImpl

    • Field Summary

      • Fields inherited from class org.javacord.core.event.EventImpl

        api
    • Constructor Summary

      Constructors 
      Constructor Description
      UserChangeNameEventImpl​(User user, java.lang.String newName, java.lang.String oldName)
      Creates a new user change name event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getNewName()  
      java.lang.String getOldName()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.javacord.api.event.Event

        getApi
    • Constructor Detail

      • UserChangeNameEventImpl

        public UserChangeNameEventImpl​(User user,
                                       java.lang.String newName,
                                       java.lang.String oldName)
        Creates a new user change name event.
        Parameters:
        user - The user of the event.
        newName - The new name of the user.
        oldName - The old name of the user.